Add Let's Go! Cup (#4766)

This commit is contained in:
LegoFigure11 2018-07-21 19:13:01 +10:00 committed by The Immortal
parent a79af39f02
commit 8dfd648258

View File

@ -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: [`&bullet; <a href="https://www.smogon.com/forums/threads/3639342/">Let's Go! Cup</a>`],
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",