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

Gen 6+ Cotton Spore behaves incorrectly on a target with Overcoat/Safety Goggles/Grass-type #6177

Open
PhallenTree opened this issue Feb 4, 2025 · 0 comments
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet

Comments

@PhallenTree
Copy link

PhallenTree commented Feb 4, 2025

Description

Since Gen 6, Cotton Spore has been a powder move that targets both foes.
Currently powder moves are blocked by Overcoat, Safety Goggles and Grass-types in CANCELLER_POWDER_MOVE, which only checks one target and then ends the action if sucessfully blocked. This means that Cotton Spore may be incorrectly blocked by a single target being immune to powder moves (even if the other is not), or both targets may have their speed reduced despite one of them being immune to powder moves.
Likely solution: Moving this handling to ABILITYEFFECT_MOVES_BLOCK or CanAbilityBlockMove should correctly block effects only on immune targets.

Also the move animation only displays one target being affected even if both are affected.

Version

upcoming (Edge)

Upcoming/master Version

64c5113

Discord contact info

PhallenTree

@PhallenTree PhallenTree added bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

1 participant