mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 14:52:19 +02:00
Fix improper placement of followUp check
This commit is contained in:
parent
36289c25e1
commit
449162720a
@ -658,8 +658,8 @@ export default class Move implements Localizable {
|
|||||||
}
|
}
|
||||||
// Sunsteel strike, Moongeist beam, and photon geyser will not ignore abilities if invoked
|
// Sunsteel strike, Moongeist beam, and photon geyser will not ignore abilities if invoked
|
||||||
// by another move, such as via metronome.
|
// by another move, such as via metronome.
|
||||||
return this.hasFlag(MoveFlags.IGNORE_ABILITIES) && !isFollowUp;
|
|
||||||
}
|
}
|
||||||
|
return this.hasFlag(MoveFlags.IGNORE_ABILITIES) && !isFollowUp;
|
||||||
break;
|
break;
|
||||||
case MoveFlags.IGNORE_PROTECT:
|
case MoveFlags.IGNORE_PROTECT:
|
||||||
if (user.hasAbilityWithAttr(IgnoreProtectOnContactAbAttr)
|
if (user.hasAbilityWithAttr(IgnoreProtectOnContactAbAttr)
|
||||||
|
Loading…
Reference in New Issue
Block a user