Reflected moves shouldnt be boosted by Prankster (#3188)

This commit is contained in:
HoeenHero 2017-01-26 02:55:33 -05:00 committed by Guangcong Luo
parent c9700f32f4
commit 91c737a6f6
2 changed files with 4 additions and 0 deletions

View File

@ -1759,6 +1759,7 @@ exports.BattleAbilities = {
}
let newMove = this.getMoveCopy(move.id);
newMove.hasBounced = true;
newMove.pranksterBoosted = false;
this.useMove(newMove, target, source);
return null;
},
@ -1768,6 +1769,7 @@ exports.BattleAbilities = {
}
let newMove = this.getMoveCopy(move.id);
newMove.hasBounced = true;
newMove.pranksterBoosted = false;
this.useMove(newMove, this.effectData.target, source);
return null;
},

View File

@ -9553,6 +9553,7 @@ exports.BattleMovedex = {
}
let newMove = this.getMoveCopy(move.id);
newMove.hasBounced = true;
newMove.pranksterBoosted = false;
this.useMove(newMove, target, source);
return null;
},
@ -9562,6 +9563,7 @@ exports.BattleMovedex = {
}
let newMove = this.getMoveCopy(move.id);
newMove.hasBounced = true;
newMove.pranksterBoosted = false;
this.useMove(newMove, this.effectData.target, source);
return null;
},