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.35k stars 1.75k forks source link

[Bug] Prankster Roar/Whirlwind Bugs Out On Dark Types/Dazzling/etc. #3958

Open OreoCupcakes opened 2 weeks ago

OreoCupcakes commented 2 weeks ago

Describe the bug

Prankster gives priority to Roar/Whirlwind, turning it from -6 to -5. Dark types, Dazzling, Queenly Majesty, Armor Tail, and Psychic Terrian all give immunity to priority moves. When using the move against a mon with immunity, it will "roar" the target and make it untargetable, but the target will still be in the battle and will attack the following turn.

Session export file

No response

User data export file

No response

Expected behavior

Prankster Roar/Whirlwind against immune targets should just fail the move immediately like all other priority move fails.

Screenshots / Videos

Example of Roar bugging out: https://github.com/user-attachments/assets/5e113c95-03c3-4b36-b6ae-baf0e6c89213

Example of a prankster priority move (leech seed) failing correctly on an immune target: https://github.com/user-attachments/assets/8998df5c-842d-40eb-a8ba-585010957bde

What OS did you observe the bug on?

PC/Windows

If other please specify

No response

Which browser do you use?

Firefox

If other please specify

No response

Additional context

No response

Snailman11 commented 1 week ago

Main:

https://github.com/user-attachments/assets/cb9cea8f-a03d-4241-91bf-1ecac8be28b4

Beta (post #3927 merge, which fixes the enemy becoming invisible when they use roar):

https://github.com/user-attachments/assets/124dd071-e64c-44a8-bcec-0d8ce8407d6d

-The enemy Pokemon is still completely targetable. However it does not blink as they model is gone. -I believe that the part of roar where the enemy sprite disappears does not fail while the move itself does.

Link to Discord's Bug report: (Prankster Roar not skooting Dark types) https://discord.com/channels/1125469663833370665/1264588396676907100