diff --git a/config/formats.js b/config/formats.js index ed5b186525..f8bf1162d0 100644 --- a/config/formats.js +++ b/config/formats.js @@ -489,7 +489,6 @@ exports.Formats = [ ], mod: 'gen7', - searchShow: false, ruleset: ['Pokemon', 'Standard', 'Ability Clause', 'Ignore Illegal Abilities', 'Team Preview'], banlist: ['Arceus', 'Archeops', 'Blaziken', 'Darkrai', 'Deoxys', 'Dialga', 'Dragonite', 'Giratina', 'Groudon', 'Ho-Oh', 'Hoopa-Unbound', 'Kartana', 'Keldeo', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Lugia', 'Lunala', 'Marshadow', 'Mewtwo', 'Palkia', 'Pheromosa', @@ -497,27 +496,7 @@ exports.Formats = [ 'Arena Trap', 'Power Construct', 'Shadow Tag', 'Gengarite', 'Kangaskhanite', 'Lucarionite', 'Salamencite', 'Baton Pass', ], onValidateSet: function (set) { - let bannedAbilities = {'Arena Trap': 1, 'Comatose': 1, 'Contrary': 1, 'Fluffy': 1, 'Fur Coat': 1, 'Huge Power': 1, 'Illusion': 1, 'Imposter': 1, 'Innards Out': 1, 'Parental Bond': 1, 'Power Construct': 1, 'Protean': 1, 'Pure Power': 1, 'Shadow Tag':1, 'Simple':1, 'Speed Boost': 1, 'Stakeout': 1, 'Water Bubble': 1, 'Wonder Guard': 1}; - if (set.ability in bannedAbilities) { - let template = this.getTemplate(set.species || set.name); - let legalAbility = false; - for (let i in template.abilities) { - if (set.ability === template.abilities[i]) legalAbility = true; - } - if (!legalAbility) return ['The ability ' + set.ability + ' is banned on Pok\u00e9mon that do not naturally have it.']; - } - }, - }, - { - name: "[Gen 7] Almost Any Ability (suspect test)", - desc: ["• Almost Any Ability: Terrakion Suspect"], - - mod: 'gen7', - challengeShow: false, - ruleset: ['[Gen 7] Almost Any Ability'], - banlist: [], - onValidateSet: function (set) { - let bannedAbilities = {'Comatose': 1, 'Contrary': 1, 'Fluffy': 1, 'Fur Coat': 1, 'Huge Power': 1, 'Illusion': 1, 'Imposter': 1, 'Innards Out': 1, 'Parental Bond': 1, 'Protean': 1, 'Pure Power': 1, 'Simple':1, 'Speed Boost': 1, 'Stakeout': 1, 'Water Bubble': 1, 'Wonder Guard': 1}; + let bannedAbilities = {'Arena Trap': 1, 'Comatose': 1, 'Contrary': 1, 'Fluffy': 1, 'Fur Coat': 1, 'Huge Power': 1, 'Illusion': 1, 'Imposter': 1, 'Innards Out': 1, 'Parental Bond': 1, 'Protean': 1, 'Pure Power': 1, 'Shadow Tag':1, 'Simple':1, 'Speed Boost': 1, 'Stakeout': 1, 'Water Bubble': 1, 'Wonder Guard': 1}; if (set.ability in bannedAbilities) { let template = this.getTemplate(set.species || set.name); let legalAbility = false;