Remove latent checkFlag call in move-effect-phase
This commit is contained in:
parent
781bfc4391
commit
bbe52bd9fa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue