Remove latent checkFlag call in move-effect-phase

This commit is contained in:
Sirz Benjie 2025-03-10 22:13:53 -05:00
parent 781bfc4391
commit bbe52bd9fa
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ export class MoveEffectPhase extends PokemonPhase {
/** Is the target's magic bounce ability not ignored and able to reflect this move? */
const canMagicBounce =
!isReflecting &&
!move.checkFlag(MoveFlags.IGNORE_ABILITIES, user, target) &&
!move.doesFlagEffectApply({ flag: MoveFlags.IGNORE_ABILITIES, user, target }) &&
target.hasAbilityWithAttr(ReflectStatusMoveAbAttr);
const semiInvulnerableTag = target.getTag(SemiInvulnerableTag);