RIP `phases.ts`

This commit is contained in:
innerthunder 2024-09-11 18:15:50 -07:00
parent 5d051695ed
commit 57d167d5c3
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ export class MovePhase extends BattlePhase {
if (!this.followUp) { if (!this.followUp) {
if (this.move.getMove().checkFlag(MoveFlags.IGNORE_ABILITIES, this.pokemon, null)) { if (this.move.getMove().checkFlag(MoveFlags.IGNORE_ABILITIES, this.pokemon, null)) {
this.scene.arena.setIgnoreAbilities(); this.scene.arena.setIgnoreAbilities(true, this.pokemon.getBattlerIndex());
} }
} else { } else {
this.pokemon.turnData.hitsLeft = 0; // TODO: is `0` correct? this.pokemon.turnData.hitsLeft = 0; // TODO: is `0` correct?