From 6b5fc8fdff7aec2b65271a5e2986cfded4c28b88 Mon Sep 17 00:00:00 2001 From: The Immortal Date: Thu, 18 Sep 2014 17:27:54 +0400 Subject: [PATCH] Ban Genesect forms in Monotype --- data/rulesets.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/data/rulesets.js b/data/rulesets.js index 537f18dc4a..68933ef62b 100644 --- a/data/rulesets.js +++ b/data/rulesets.js @@ -524,18 +524,18 @@ exports.BattleFormats = { // Very complex bans if (typeTable.length > 1) return; switch (typeTable[0]) { - case 'Steel': - if (teamHas['aegislash']) return ["Aegislash is banned from Steel monotype teams."]; - if (teamHas['genesect']) return ["Genesect is banned from Steel monotype teams."]; - break; - case 'Water': - if (teamHas['damprock']) return ["Damp Rock is banned from Water monotype teams."]; - break; case 'Dragon': if (teamHas['kyuremwhite']) return ["Kyurem-White is banned from Dragon monotype teams."]; break; case 'Flying': if (teamHas['shayminsky']) return ["Shaymin-Sky is banned from Flying monotype teams."]; + break; + case 'Steel': + if (teamHas['aegislash']) return ["Aegislash is banned from Steel monotype teams."]; + if (teamHas['genesect'] || teamHas['genesectdouse'] || teamHas['genesectshock'] || teamHas['genesectburn'] || teamHas['genesectchill']) return ["Genesect is banned from Steel monotype teams."]; + break; + case 'Water': + if (teamHas['damprock']) return ["Damp Rock is banned from Water monotype teams."]; } } }