mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-14 04:05:39 -05:00
Ban Genesect forms in Monotype
This commit is contained in:
@@ -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."];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user