Fix improper placement of followUp check

This commit is contained in:
Sirz Benjie 2025-02-06 22:22:57 -06:00
parent 36289c25e1
commit 449162720a
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -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)