From 8dfd648258607b3d2f7bfa7263ebb7ee690f4c80 Mon Sep 17 00:00:00 2001 From: LegoFigure11 Date: Sat, 21 Jul 2018 19:13:01 +1000 Subject: [PATCH] Add Let's Go! Cup (#4766) --- config/formats.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/formats.js b/config/formats.js index 2871ea1e3e..61b180200a 100644 --- a/config/formats.js +++ b/config/formats.js @@ -206,6 +206,20 @@ let Formats = [ 'Arceus', 'Reshiram', 'Zekrom', 'Kyurem', 'Xerneas', 'Yveltal', 'Solgaleo', 'Lunala', 'Necrozma-Dusk-Mane', 'Necrozma-Dawn-Wings', ], }, + { + name: "[Gen 7] Let's Go! Cup", + desc: `1-Pokemon teams with only Pikachu or Eevee are allowed.`, + threads: [`• Let's Go! Cup`], + + mod: 'gen7', + forcedLevel: 50, + ruleset: ['Pokemon', 'Cancel Mod'], + banlist: ['Illegal', 'Unreleased'], + onValidateTeam: function (team, format) { + if (team.length !== 1) return [`Only one Pokemon per team is allowed.`]; + if (!['eevee', 'pikachu'].includes(toId(team[0].species))) return [`Only Pikachu and Eevee are allowed in ${format.name}.`]; + }, + }, { name: "[Gen 7] Custom Game",