pokerogue/test/abilities
Bertie690 664f2fab0d
[Refactor/Bug] Fix Protean not applying due to terrain + minor cleanup of move phase (#5855)
* Squashed protean/libero changes

* Update protean-libero.test.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update protean-libero.test.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update ability.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update move-phase.ts

* Fixed counter move logic using inverted conditional

* Update move-phase.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update move-phase.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update ability.ts commentfix

* Update src/data/abilities/ability.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-07-13 05:59:38 +00:00
..
ability_activation_order.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
ability_duplication.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
ability_timing.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
analytic.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
anger-point.test.ts [Bug] Fix anger point procing on every hit if first hit in multi hit was a crit 2025-07-07 18:38:18 -07:00
arena_trap.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
aroma_veil.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
aura_break.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
battery.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
battle_bond.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
beast_boost.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
commander.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
competitive.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
contrary.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
corrosion.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
costar.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
cud_chew.test.ts [Refactor] [Ability] Ab attr apply type safety (#6002) 2025-06-22 18:23:08 -07:00
dancer.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
defiant.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
desolate-land.test.ts [Refactor] Minor run phase rework (#6017) 2025-07-02 02:57:08 -07:00
disguise.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
dry_skin.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
early_bird.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
flash_fire.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
flower_gift.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
flower_veil.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
forecast.test.ts [Bug] Fix weather form changes not changing with weather abilities 2025-06-16 06:02:09 -07:00
friend_guard.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
good_as_gold.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
gorilla_tactics.test.ts [Test] Fix Gorilla Tactics tests 2025-06-24 18:40:15 -07:00
guard-dog.test.ts [Test] Added tests for Intimidate, Fishious Rend/Bolt Beak, Payback and Moongeist Beam & co. (#5858) 2025-07-13 05:55:05 +00:00
gulp_missile.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
harvest.test.ts [Refactor] [Ability] Ab attr apply type safety (#6002) 2025-06-22 18:23:08 -07:00
healer.test.ts [Refactor] [Ability] Ab attr apply type safety (#6002) 2025-06-22 18:23:08 -07:00
heatproof.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
honey_gather.test.ts [Refactor] Minor run phase rework (#6017) 2025-07-02 02:57:08 -07:00
hustle.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
hyper_cutter.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
ice_face.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
illuminate.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
illusion.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
immunity.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
imposter.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
infiltrator.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
insomnia.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
intimidate.test.ts [Test] Added tests for Intimidate, Fishious Rend/Bolt Beak, Payback and Moongeist Beam & co. (#5858) 2025-07-13 05:55:05 +00:00
intrepid_sword.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
lightningrod.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
limber.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
magic_bounce.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
magic_guard.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
magma_armor.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
mimicry.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
mirror_armor.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
mold_breaker.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
moody.test.ts [Refactor] [Ability] Ab attr apply type safety (#6002) 2025-06-22 18:23:08 -07:00
moxie.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
mummy.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
mycelium_might.test.ts [Dev] Update Biome to 2.0.0 (#6004) 2025-06-20 23:24:11 -07:00
neutralizing_gas.test.ts [Refactor] Minor run phase rework (#6017) 2025-07-02 02:57:08 -07:00
no_guard.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
normal-move-type-change.test.ts [Refactor] Remove circular dependencies (part 4) (#5964) 2025-06-11 19:42:04 -07:00
normalize.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
oblivious.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
own_tempo.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
parental_bond.test.ts [Test] Remove duplicate tests (#6082) 2025-07-11 19:33:15 +02:00
pastel_veil.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
perish_body.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
power_construct.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
power_spot.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
protean-libero.test.ts [Refactor/Bug] Fix Protean not applying due to terrain + minor cleanup of move phase (#5855) 2025-07-13 05:59:38 +00:00
protosynthesis.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
quick_draw.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
sand_spit.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
sand_veil.test.ts [Refactor] [Ability] Ab attr apply type safety (#6002) 2025-06-22 18:23:08 -07:00
sap_sipper.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
schooling.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
screen_cleaner.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
seed_sower.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
serene_grace.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
sheer_force.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
shell-armor.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
shield_dust.test.ts [Refactor] [Ability] Ab attr apply type safety (#6002) 2025-06-22 18:23:08 -07:00
shields_down.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
simple.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
speed_boost.test.ts [Refactor] Minor run phase rework (#6017) 2025-07-02 02:57:08 -07:00
stakeout.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
stall.test.ts [Dev] Update Biome to 2.0.0 (#6004) 2025-06-20 23:24:11 -07:00
steely_spirit.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
storm_drain.test.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
sturdy.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
super_luck.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
supreme_overlord.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
sweet_veil.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
synchronize.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
tera_shell.test.ts [Test] Remove unneeded mockRestore and testTimeout calls in tests 2025-06-15 00:48:16 -07:00
thermal_exchange.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
trace.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
unburden.test.ts [Refactor] [Ability] Ab attr apply type safety (#6002) 2025-06-22 18:23:08 -07:00
unseen_fist.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
victory_star.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
vital_spirit.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
volt_absorb.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
wandering_spirit.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
water_bubble.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
water_veil.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
wimp_out.test.ts [Dev] Add player and enemy Nature and IV overrides (#6032) 2025-06-26 12:01:54 -07:00
wind_power.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00
wind_rider.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
wonder_skin.test.ts [Dev] Update Biome to 2.0.0 (#6004) 2025-06-20 23:24:11 -07:00
zen_mode.test.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
zero_to_hero.test.ts [Test] Convert game.override calls into chained line where possible 2025-06-15 00:40:41 -07:00