From 86b94cdd6796335339e3ead3c51fca1f5cc4ee8a Mon Sep 17 00:00:00 2001 From: The Immortal Date: Thu, 22 Oct 2020 17:38:37 +0400 Subject: [PATCH] Remove Battle of Legends --- config/formats.ts | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/config/formats.ts b/config/formats.ts index 67e2e188a1..f65ea95732 100644 --- a/config/formats.ts +++ b/config/formats.ts @@ -332,41 +332,6 @@ export const Formats: FormatList = [ ], minSourceGen: 8, }, - { - name: "[Gen 8] Battle of Legends", - threads: [ - `• Battle of Legends`, - ], - - mod: 'gen8', - gameType: 'doubles', - forcedLevel: 50, - teamLength: { - validate: [4, 6], - battle: 4, - }, - ruleset: ['Obtainable', 'Team Preview', 'Species Clause', 'Nickname Clause', 'Item Clause', 'Cancel Mod', 'VGC Timer'], - minSourceGen: 8, - onValidateTeam(team) { - const RESTRICTED_LEGENDS = [ - 'Mewtwo', 'Mew', - 'Celebi', - 'Jirachi', - 'Reshiram', 'Zekrom', 'Kyurem', 'Keldeo', - 'Cosmog', 'Cosmoem', 'Solgaleo', 'Lunala', 'Necrozma', 'Magearna', 'Marshadow', 'Zeraora', - 'Meltan', 'Melmetal', - 'Zacian', 'Zamazenta', 'Eternatus', 'Zarude', - ]; - let restrictedCount = 0; - for (const set of team) { - const species = this.dex.getSpecies(set.species); - if (RESTRICTED_LEGENDS.includes(species.baseSpecies)) restrictedCount++; - } - if (restrictedCount > 1) { - return [`You are limited to one restricted legend.`, `(You have ${restrictedCount} restricted legends.)`]; - } - }, - }, { name: "[Gen 8] 2v2 Doubles", desc: `Double battle where you bring four Pokémon to Team Preview and choose only two.`,