Open RNGezeus opened 3 months ago
Yep, it seems like turning off the effect is manually handled by the ability (see PreSwitchOutClearWeatherAbAttr
). So, there's a few options:
PreSwitchOutClearWeatherAbAttr
to EffectEndClearWeatherAbAttr
or some shit like that. We'd probably want to go ahead and rename all the other PreSwitchOut
effects along with it.PreAbilitySuppressedAbAttr
that is fired on suppression, and a descendant PreAbilitySuppressedClearWeatherAbAttr
that implements the weather clear effect.PreSwitchOutAbAttr
when suppression happens.Opinions would be appreciated.
https://github.com/user-attachments/assets/e16d2df1-f788-4118-b36f-c472e25f6aaa
Describe the bug Weather not being removed upon being suppressed
To Reproduce Give opponent Delta stream and yourself Gastro acid along with a move that would be super effective against them
Expected behavior Strong winds disappearing after the ability is suppresed, thus making the attack super effective and being able to setup new weather.
Screenshots / Videos Ability not cancelling after being suppressed https://github.com/pagefaultgames/pokerogue/assets/46976469/1230c41c-b2e9-49a5-a474-e21e9140e545
Additional context https://bulbapedia.bulbagarden.net/wiki/Delta_Stream_(Ability) " If the only Pokémon on the field with Delta Stream is rotated out or switched out, or has its Ability suppressed or replaced, the strong winds will dissipate. "