pagefaultgames / pokerogue

A browser based Pokémon fangame heavily inspired by the roguelite genre.
https://pokerogue.net
GNU Affero General Public License v3.0
4.4k stars 1.78k forks source link

[BUG] Delta stream not stopping after being suppresed #2389

Open RNGezeus opened 3 months ago

RNGezeus commented 3 months ago

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. "

zacharied commented 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:

Opinions would be appreciated.

Snailman11 commented 1 month ago

https://github.com/user-attachments/assets/e16d2df1-f788-4118-b36f-c472e25f6aaa