Skip to content

Commit

Permalink
Implement Neuroforce
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinXII committed Nov 16, 2017
1 parent 9e672ae commit 1f2bd92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/damage.js
Expand Up @@ -408,6 +408,9 @@ function getDamageResult(attacker, defender, move, field) {
} else if (attacker.ability === "Tough Claws" && move.makesContact) {
bpMods.push(0x14CD);
description.attackerAbility = attacker.ability;
} else if (attacker.ability === "Neuroforce" && (move.type === defender.type1 || move.type === defender.type2)) {
bpMods.push(0x1333);
description.attackerAbility = attacker.ability;
}

var isAttackerAura = attacker.ability === (move.type + " Aura");
Expand Down

0 comments on commit 1f2bd92

Please sign in to comment.