pokerogue/src/test/abilities
innerthunder cd92d4d7d3
[Ability] Implement Parental Bond (#2384)
* Parental Bond basic implementation

* Parental Bond unit tests

* ESLint

* PBond AbAttr rework, documentation, and multi-target unit tests

* Update post-target move attribute logic

For Parental Bond interaction.

* AddSecondStrikeAbAttr now uses Constructor util

* Unit tests for PBond + Multi-Lens interaction

* Remove random damage spread in unit test

* Add null checks to PBond AbAttr

* Set player pokemon for unit test

* Fixed Post Target check to account for KO's

* Fix multi-strike moves applying effects at wrong times

* Test cases for updated effect timing

* Add Wake-Up Slap test case

* Fix Fury Cutter/Echoed Voice multi-hit interaction

* Fix Pay Day, Relic Song, and Fury Cutter (again)

* Add early stopping to multi-hit moves

* RecoilAttr now uses lastHitOnly

* Add faint check to last hit logic
2024-06-26 16:03:14 -04:00
..
aura_break.test.ts [Refactor] unit tests cleanup (#2533) 2024-06-23 12:38:40 -04:00
battery.test.ts [Refactor] unit tests cleanup (#2533) 2024-06-23 12:38:40 -04:00
battle_bond.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
costar.test.ts [Ability] Implement Costar Ability (#1218) 2024-06-22 11:35:25 -04:00
disguise.test.ts [Ability] fix damage taken by disguise (#2601) 2024-06-25 15:32:45 -04:00
dry_skin.test.ts [Bug] Fix Dry Skin and ReceivedMoveDamageMultiplierAbAttr abilities (#2592) 2024-06-25 13:23:48 -04:00
ice_face.test.ts [Unittest] Fix Ice Face Test where speed tie was sometimes breaking multi-hit test (#2487) 2024-06-21 10:37:09 -04:00
intimidate.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
intrepid_sword.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
libero.test.ts [Balance] Protean / Libero changed to Gen 6-8 Implementation (#2473) 2024-06-24 20:58:50 -05:00
moxie.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
parental_bond.test.ts [Ability] Implement Parental Bond (#2384) 2024-06-26 16:03:14 -04:00
power_construct.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
power_spot.test.ts [Refactor] unit tests cleanup (#2533) 2024-06-23 12:38:40 -04:00
protean.test.ts [Balance] Protean / Libero changed to Gen 6-8 Implementation (#2473) 2024-06-24 20:58:50 -05:00
quick_draw.test.ts [Ability] Implement Quick Draw (#2287) 2024-06-24 11:22:15 -04:00
sap_sipper.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
schooling.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
screen_cleaner.test.ts [Enhancement] Optimize Unit tests (#2444) 2024-06-20 11:11:29 +02:00
serene_grace.test.ts [Ability] Serene Grace, Shield Dust, Sheer Force (P) (#246) 2024-06-17 20:30:42 -04:00
sheer_force.test.ts [Ability] Serene Grace, Shield Dust, Sheer Force (P) (#246) 2024-06-17 20:30:42 -04:00
shield_dust.test.ts [Ability] Serene Grace, Shield Dust, Sheer Force (P) (#246) 2024-06-17 20:30:42 -04:00
shields_down.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
sturdy.test.ts [Bug][Unit Test] fix and optimize sturdy unit tests (#2455) 2024-06-21 10:59:10 -04:00
unseen_fist.test.ts [Enhancement] Optimize Unit tests (#2444) 2024-06-20 11:11:29 +02:00
volt_absorb.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
wind_power.test.ts add wind power unit tests (#2431) 2024-06-20 11:26:50 +02:00
wind_rider.test.ts [Enhancement] add wind rider unit tests (#2428) 2024-06-20 11:12:55 +02:00
wonder_skin.test.ts [Refactor] unit tests cleanup (#2533) 2024-06-23 12:38:40 -04:00
zen_mode.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
zero_to_hero.test.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00