Move redirection abilities ignore own moves
This commit is contained in:
1 parent
71e820f149
commit
6dbbc50139
1 file changed
+1
-1
+1
-1
@@ -1872,7 +1872,7 @@ export class MovePhase extends BattlePhase {
|
||||
? new Utils.IntegerHolder(this.targets[0])
|
||||
: null;
|
||||
if (moveTarget) {
|
||||
this.scene.getField(true).forEach(p => applyAbAttrs(RedirectMoveAbAttr, p, null, this.move.moveId, moveTarget));
|
||||
this.scene.getField(true).filter(p => p !== this.pokemon).forEach(p => applyAbAttrs(RedirectMoveAbAttr, p, null, this.move.moveId, moveTarget));
|
||||
this.targets[0] = moveTarget.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user