mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Fix Me First and Mirror Move's targeting
- They target the original target whenever possible, not a random opponent
This commit is contained in:
parent
bb4579545b
commit
9224be7b07
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user