Add new STABmons bans

This commit is contained in:
The Immortal
2016-12-05 20:26:23 +04:00
parent c2b96f3eeb
commit dca870039e
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ exports.Formats = [
banlist: ['Ignore STAB Moves',
'Aegislash', 'Arceus', 'Blaziken', 'Darkrai', 'Deoxys', 'Dialga', 'Giratina', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem-White',
'Lugia', 'Lunala', 'Mewtwo', 'Palkia', 'Rayquaza', 'Reshiram', 'Shaymin-Sky', 'Solgaleo', 'Xerneas', 'Yveltal', 'Zekrom',
'Power Construct', 'Shadow Tag', 'Gengarite', 'Kangaskhanite', 'Lucarionite', "King's Rock", 'Razor Fang', 'Salamencite',
'Power Construct', 'Shadow Tag', 'Gengarite', 'Kangaskhanite', "King's Rock", 'Lucarionite', 'Metagrossite', 'Razor Fang', 'Salamencite',
],
},
{

View File

@@ -703,7 +703,7 @@ class Validator {
alreadyChecked[template.speciesid] = true;
if (tools.gen === 2 && template.gen === 1) tradebackEligible = true;
// STABmons hack to avoid copying all of validateSet to formats
if (format.banlistTable && format.banlistTable['ignorestabmoves'] && !(moveid in {'acupressure':1, 'chatter':1}) && !move.isZ) {
if (format.banlistTable && format.banlistTable['ignorestabmoves'] && !(moveid in {'acupressure':1, 'chatter':1, 'geomancy':1, 'shellsmash':1, 'shiftgear':1, 'thousandarrows':1}) && !move.isZ) {
let types = template.types;
if (template.baseSpecies === 'Rotom') types = ['Electric', 'Ghost', 'Fire', 'Water', 'Ice', 'Flying', 'Grass'];
if (template.baseSpecies === 'Shaymin') types = ['Grass', 'Flying'];