pokerogue/src/test/abilities
innerthunder f3ced7e814
[Bug] Fix inconsistencies with move type resolution for some ability triggers (#3988)
* Fix inconsistencies with ability triggers on variable-type moves

* Fix aura effects not accounting for the move user

* Fix Wonder Guard evaluating move type as if the defender used the move

* Some additional test coverage for move-type-changing effects
2024-09-05 00:49:01 +01:00
..
ability_timing.test.ts [Test] Tests now default to using "Set" battle style (#3728) 2024-09-01 23:32:31 -04:00
aura_break.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
battery.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
battle_bond.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
beast_boost.test.ts [Test] Remove nature RNG from Beast Boost tests (#3994) 2024-09-03 01:59:48 -04:00
contrary.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
costar.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
dancer.test.ts [Bug] Moves copied by Dancer should not consume PP (#3623) 2024-09-02 00:21:56 -04:00
disguise.test.ts [Bug] Fix inconsistencies with move type resolution for some ability triggers (#3988) 2024-09-05 00:49:01 +01:00
dry_skin.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
flash_fire.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
flower_gift.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
forecast.test.ts [Test] Refactor/consolidate Forecast tests (#3754) 2024-08-25 12:24:44 -07:00
galvanize.test.ts [Ability][Move] Rewrite Type Resolution and Effectiveness Calculation Functions (#3704) 2024-08-25 19:11:01 -07:00
gulp_missile.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
heatproof.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
hustle.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
hyper_cutter.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
ice_face.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
imposter.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
intimidate.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
intrepid_sword.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
libero.test.ts [Ability][Move] Rewrite Type Resolution and Effectiveness Calculation Functions (#3704) 2024-08-25 19:11:01 -07:00
magic_guard.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
moody.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
moxie.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
mycelium_might.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
parental_bond.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
pastel_veil.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
power_construct.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
power_spot.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
protean.test.ts [Ability][Move] Rewrite Type Resolution and Effectiveness Calculation Functions (#3704) 2024-08-25 19:11:01 -07:00
quick_draw.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
sand_spit.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
sand_veil.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
sap_sipper.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
schooling.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
screen_cleaner.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
serene_grace.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
sheer_force.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
shield_dust.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
shields_down.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
simple.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
stall.test.ts [Refactor] Improvements on getOrder() (#3547) 2024-09-01 15:23:25 -07:00
steely_spirit.test.ts [Bug] Fix inconsistencies with move type resolution for some ability triggers (#3988) 2024-09-05 00:49:01 +01:00
sturdy.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
sweet_veil.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
tera_shell.test.ts [Ability] Implement Tera Shell (#3856) 2024-09-02 02:21:11 +01:00
unseen_fist.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
volt_absorb.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
wind_power.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
wind_rider.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
wonder_skin.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
zen_mode.test.ts [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
zero_to_hero.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00