Fix Me First and Mirror Move's targeting

- They target the original target whenever possible, not a random
opponent
This commit is contained in:
Marty-D 2015-02-06 22:49:48 -05:00
parent bb4579545b
commit 9224be7b07

View File

@ -8386,7 +8386,7 @@ exports.BattleMovedex = {
var move = this.getMove(decision.move);
if (move.category !== 'Status' && !noMeFirst[move]) {
pokemon.addVolatile('mefirst');
this.useMove(move, pokemon);
this.useMove(move, pokemon, target);
return;
}
}
@ -8898,7 +8898,7 @@ exports.BattleMovedex = {
}
},
onHit: function (target, source) {
this.useMove(target.lastMove, source);
this.useMove(target.lastMove, source, target);
},
secondary: false,
target: "normal",