Ban Genesect forms in Monotype

This commit is contained in:
The Immortal
2014-09-18 17:27:54 +04:00
parent fe2da076f0
commit 6b5fc8fdff

View File

@@ -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."];
}
}
}