pokemon-showdown/data/mods/fullpotential
André Bastos Dias 6513f4b18a
Activate Wonder Guard if the target is immune (#11130)
* Activate Wonder Guard if the target is immune

* Lint

* Correctly check for immunities

* Refactor runImmunity

* Change all move.type to move

For example, this fixes Thousand Arrows vs Air Ballon Terapagos. Tera Shell was not activating.

* Remove unnecessary cast
2025-05-31 01:28:46 -06:00
..
abilities.ts Refactor types for Lowercase<string> (#10377) 2024-07-01 15:57:14 -07:00
scripts.ts Activate Wonder Guard if the target is immune (#11130) 2025-05-31 01:28:46 -06:00