mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-25 15:40:31 -05:00
Show Best of checkbox for random battle formats
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Requested by Randbats ROs
This commit is contained in:
parent
20717b7c67
commit
e982385e54
|
|
@ -30,6 +30,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized teams of Pokémon with sets that are generated to be competitively viable.`,
|
||||
mod: 'gen9',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -53,6 +54,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
name: "[Gen 9] Random Battle (Blitz)",
|
||||
mod: 'gen9',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['[Gen 9] Random Battle', 'Blitz'],
|
||||
},
|
||||
{
|
||||
|
|
@ -170,6 +172,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen9',
|
||||
gameType: 'doubles',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Illusion Level Mod', 'Sleep Clause Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -2831,6 +2834,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Random Battles in a random generation! [Gen 1] Random Battle - [Gen 9] Random Battle.`,
|
||||
mod: 'randomroulette',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
},
|
||||
{
|
||||
name: "[Gen 9] Monkey's Paw Random Battle",
|
||||
|
|
@ -2882,6 +2886,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen9ssb',
|
||||
debug: true,
|
||||
team: 'randomStaffBros',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
|
||||
onBegin() {
|
||||
// TODO look into making an event to put this right after turn|1
|
||||
|
|
@ -2931,6 +2936,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
name: "[Gen 9] Monotype Random Battle",
|
||||
mod: 'gen9',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Same Type Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -2938,6 +2944,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `[Gen 9] Random Battle with Team Preview, Bring 12 Pick 6, and Shared Power.`,
|
||||
mod: 'sharedpower',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['[Gen 9] Random Battle', 'Team Preview', 'Max Team Size = 12', 'Picked Team Size = 6'],
|
||||
onValidateRule() {
|
||||
if (this.format.gameType !== 'singles') {
|
||||
|
|
@ -2960,6 +2967,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `[Gen 9] Random Battle with Team Preview and elements of Camomons, Inverse, Scalemons, and Shared Power.`,
|
||||
mod: 'sharedpower',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['[Gen 9] Random Battle', 'Team Preview', 'Camomons Mod', 'Inverse Mod', 'Scalemons Mod'],
|
||||
onValidateRule() {
|
||||
if (this.format.gameType !== 'singles') {
|
||||
|
|
@ -2982,6 +2990,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized teams of Pokémon for a generated Smogon tier with sets that are competitively viable.`,
|
||||
mod: 'gen9',
|
||||
team: 'randomFactory',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Standard'],
|
||||
onBegin() {
|
||||
this.add(`raw|<div class="broadcast-blue"><b>Battle Factory Tier: ${this.teamGenerator.factoryTier}</b></div>`);
|
||||
|
|
@ -2992,6 +3001,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized 3v3 Singles featuring Pokémon and movesets popular in Battle Stadium Singles.`,
|
||||
mod: 'gen9',
|
||||
team: 'randomBSSFactory',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Flat Rules', 'VGC Timer'],
|
||||
},
|
||||
{
|
||||
|
|
@ -2999,6 +3009,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized matchups sourced from various 6v6 singles draft leagues.`,
|
||||
mod: 'gen9',
|
||||
team: 'randomDraftFactory',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Standard Draft', '!Team Preview'],
|
||||
onBegin() {
|
||||
for (const pokemon of this.getAllPokemon()) {
|
||||
|
|
@ -3029,6 +3040,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
name: "[Gen 9] Baby Random Battle",
|
||||
mod: 'gen9',
|
||||
team: 'randomBaby',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3038,6 +3050,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
`with <a href="https://forms.gle/DYwQN5qGVegz3YU38">this form</a>.`,
|
||||
mod: 'gen9',
|
||||
team: 'computerGenerated',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3045,6 +3058,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized teams of level-balanced Pokémon with absolutely any ability, moves, and item.`,
|
||||
mod: 'gen9',
|
||||
team: 'randomHC',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['HP Percentage Mod', 'Cancel Mod'],
|
||||
banlist: ['CAP', 'LGPE', 'MissingNo.', 'Pikachu-Cosplay', 'Pichu-Spiky-eared', 'Pokestar Smeargle', 'Pokestar UFO', 'Pokestar UFO-2', 'Pokestar Brycen-Man', 'Pokestar MT', 'Pokestar MT2', 'Pokestar Transport', 'Pokestar Giant', 'Pokestar Humanoid', 'Pokestar Monster', 'Pokestar F-00', 'Pokestar F-002', 'Pokestar Spirit', 'Pokestar Black Door', 'Pokestar White Door', 'Pokestar Black Belt', 'Pokestar UFO-PropU2', 'Xerneas-Neutral'],
|
||||
},
|
||||
|
|
@ -3054,6 +3068,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen9',
|
||||
team: 'randomHC',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
gameType: 'doubles',
|
||||
ruleset: ['[Gen 9] Hackmons Cup'],
|
||||
},
|
||||
|
|
@ -3062,6 +3077,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `[Gen 9] Hackmons Cup but with only the most powerful Pokémon, moves, abilities, and items.`,
|
||||
|
||||
team: 'randomHC',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['HP Percentage Mod', 'Cancel Mod'],
|
||||
banlist: ['All Pokemon', 'All Abilities', 'All Items', 'All Moves'],
|
||||
unbanlist: [
|
||||
|
|
@ -3175,6 +3191,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Get a randomized team of level-balanced Pokémon with absolutely any legal ability, moves, and item, and choose one to battle.`,
|
||||
mod: 'gen9',
|
||||
team: 'randomCC',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod', 'Team Preview', 'Terastal Clause', 'Picked Team Size = 1'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3183,6 +3200,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen9',
|
||||
team: 'randomCC',
|
||||
gameType: 'doubles',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod', 'Team Preview', 'Picked Team Size = 2'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3191,12 +3209,14 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen9',
|
||||
team: 'randomCC',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod'],
|
||||
},
|
||||
{
|
||||
name: "[Gen 9] Metronome Battle",
|
||||
mod: 'gen9',
|
||||
gameType: 'doubles',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Max Team Size = 2', 'HP Percentage Mod', 'Cancel Mod'],
|
||||
banlist: [
|
||||
'Pokestar Spirit', 'Pecharunt', 'Terapagos', 'Shedinja + Sturdy', 'Cheek Pouch', 'Commander', 'Cursed Body', 'Dry Skin', 'Earth Eater', 'Fur Coat',
|
||||
|
|
@ -3236,6 +3256,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized teams of level-balanced Pokémon with sets that are generated to be competitively viable.`,
|
||||
mod: 'gen8',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3244,6 +3265,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
gameType: 'doubles',
|
||||
team: 'random',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3275,6 +3297,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen8',
|
||||
team: 'randomFactory',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Standard', 'Dynamax Clause'],
|
||||
onBegin() {
|
||||
this.add(`raw|<div class="broadcast-blue"><b>Battle Factory Tier: ${this.teamGenerator.factoryTier}</b></div>`);
|
||||
|
|
@ -3286,6 +3309,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen8',
|
||||
team: 'randomBSSFactory',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Flat Rules'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3294,6 +3318,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen8',
|
||||
team: 'randomHC',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['HP Percentage Mod', 'Cancel Mod'],
|
||||
banlist: ['Nonexistent'],
|
||||
},
|
||||
|
|
@ -3301,8 +3326,9 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
name: "[Gen 8] CAP 1v1",
|
||||
desc: `Randomly generated 1v1-style teams only including Pokémon made by the Create-A-Pokémon Project.`,
|
||||
mod: 'gen8',
|
||||
searchShow: false,
|
||||
team: 'randomCAP1v1',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: [
|
||||
'Picked Team Size = 1',
|
||||
'Max Team Size = 3',
|
||||
|
|
@ -3314,6 +3340,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized teams of level-balanced Pokémon with sets that are generated to be competitively viable.`,
|
||||
mod: 'gen8bdsp',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
searchShow: false,
|
||||
ruleset: ['[Gen 8] Random Battle', '!PotD'],
|
||||
},
|
||||
|
|
@ -3322,6 +3349,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
desc: `Randomized teams of level-balanced Pokémon with sets that are generated to be competitively viable.`,
|
||||
mod: 'gen7',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3330,6 +3358,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen7',
|
||||
team: 'randomFactory',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Sleep Clause Mod', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
|
||||
onBegin() {
|
||||
this.add(`raw|<div class="broadcast-blue"><b>Battle Factory Tier: ${this.teamGenerator.factoryTier}</b></div>`);
|
||||
|
|
@ -3341,6 +3370,7 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen7',
|
||||
team: 'randomBSSFactory',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Flat Rules'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3358,12 +3388,14 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
mod: 'gen7letsgo',
|
||||
team: 'random',
|
||||
searchShow: false,
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Allow AVs', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
|
||||
},
|
||||
{
|
||||
name: "[Gen 6] Random Battle",
|
||||
mod: 'gen6',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
|
|
@ -3382,30 +3414,35 @@ export const Formats: import('../sim/dex-formats').FormatList = [
|
|||
name: "[Gen 5] Random Battle",
|
||||
mod: 'gen5',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Illusion Level Mod'],
|
||||
},
|
||||
{
|
||||
name: "[Gen 4] Random Battle",
|
||||
mod: 'gen4',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod'],
|
||||
},
|
||||
{
|
||||
name: "[Gen 3] Random Battle",
|
||||
mod: 'gen3',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Standard'],
|
||||
},
|
||||
{
|
||||
name: "[Gen 2] Random Battle",
|
||||
mod: 'gen2',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Standard'],
|
||||
},
|
||||
{
|
||||
name: "[Gen 1] Random Battle",
|
||||
mod: 'gen1',
|
||||
team: 'random',
|
||||
bestOfDefault: true,
|
||||
ruleset: ['Standard'],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user