RIP `phases.ts`
This commit is contained in:
parent
5d051695ed
commit
57d167d5c3
|
@ -74,7 +74,7 @@ export class MovePhase extends BattlePhase {
|
|||
|
||||
if (!this.followUp) {
|
||||
if (this.move.getMove().checkFlag(MoveFlags.IGNORE_ABILITIES, this.pokemon, null)) {
|
||||
this.scene.arena.setIgnoreAbilities();
|
||||
this.scene.arena.setIgnoreAbilities(true, this.pokemon.getBattlerIndex());
|
||||
}
|
||||
} else {
|
||||
this.pokemon.turnData.hitsLeft = 0; // TODO: is `0` correct?
|
||||
|
|
Loading…
Reference in New Issue