Fix Gen-NEXT Team Validation Errors

- Unban the listed Mega Evolutions under the new tiering system
- Fix issues with modified abilities being treated as invalid
This commit is contained in:
Kevin Lau 2016-01-03 04:33:13 -08:00
parent a088853208
commit 512211337e
2 changed files with 29 additions and 0 deletions

View File

@ -353,6 +353,7 @@ exports.BattleAbilities = {
},
},
"weakarmor": {
inherit: true,
onDamage: function (damage, target, source, effect) {
if (effect && effect.effectType === 'Move') {
this.add('-message', "Its damage was reduced by Weak Armor!");
@ -477,6 +478,8 @@ exports.BattleAbilities = {
},
},
"truant": {
inherit: true,
onBeforeMove: function () {},
onModifyMove: function (move, pokemon) {
if (!move.self) move.self = {};
if (!move.self.volatileStatus) move.self.volatileStatus = 'truant';
@ -577,6 +580,8 @@ exports.BattleAbilities = {
},
},
"shadowtag": {
desc: "For the first turn after this Pokemon switches in, prevent adjacent opposing Pokemon from choosing to switch out unless they are immune to trapping or also have this Ability.",
shortDesc: "Prevents adjacent foes from choosing to switch for one turn.",
onStart: function (pokemon) {
pokemon.addVolatile('shadowtag');
},
@ -598,5 +603,9 @@ exports.BattleAbilities = {
pokemon.maybeTrapped = true;
}
},
id: "shadowtag",
name: "Shadow Tag",
rating: 5,
num: 23,
},
};

View File

@ -9,14 +9,34 @@ exports.BattleFormatsData = {
inherit: true,
tier: 'OU',
},
blazikenmega: {
inherit: true,
tier: 'OU',
},
genesect: {
inherit: true,
tier: 'OU',
},
gengarmega: {
inherit: true,
tier: 'OU',
},
kangaskhanmega: {
inherit: true,
tier: 'OU',
},
landorus: {
inherit: true,
tier: 'OU',
},
mawilemega: {
inherit: true,
tier: 'OU',
},
salamencemega: {
inherit: true,
tier: 'OU',
},
deoxysdefense: {
inherit: true,
tier: 'Uber',