Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PostDefendAbAttr Abilities Activate when Suppressed or Swapped Upon Fainting #5258

Open
Snailman11 opened this issue Feb 5, 2025 · 0 comments
Labels
Ability Affects an ability P2 Bug Minor. Non crashing Incorrect move/ability/interaction

Comments

@Snailman11
Copy link
Collaborator

Describe the bug

Abilities that activate after an Opponent hits them can activate even when suppressed if the move that activates the Ability would faint the User.

Static, Flame Body, Iron Barbs, Perish Body, Mummy, are a few Abilities that are affected.

Reproduction

Use a contact move against an enemy Pokemon whom you've used Gastro Acid on, that has a Postdefend ability.

	MOVESET_OVERRIDE: [Moves.GASTRO_ACID, Moves.MULTI_ATTACK],

	OPP_ABILITY_OVERRIDE: Abilities.IRON_BARBS,

Expected behavior

https://replay.pokemonshowdown.com/gen9customgame-2294681272

A Pokemon's Ability should stay suppressed as that Pokemon is fainted.

https://replay.pokemonshowdown.com/gen9customgame-2294688968

A Pokemon's Ability should stay Swapped as that Pokemon is fainted. It should use the gained ability rather than the original one.

Screenshots / Videos

Skill Swap

Skill.Swap.Mummy.Iron.Barbs.mp4
Aaron.s.Static.Doubles.Skill.Swap.mp4

Gastro Acid

Mummy

Gastro.Mummy.mp4

Iron Barbs

Gastro.Iron.Barbs.mp4

Session export file

No response

User data export file

No response

Additional context

No response

@Snailman11 Snailman11 added Ability Affects an ability P2 Bug Minor. Non crashing Incorrect move/ability/interaction labels Feb 5, 2025
@Snailman11 Snailman11 moved this from To triage to Ready in PokéRogue Bug Management Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ability Affects an ability P2 Bug Minor. Non crashing Incorrect move/ability/interaction
Projects
Status: Ready
Development

No branches or pull requests

1 participant