pokerogue/test
Sirz Benjie 110fd2f0a1
[Refactor][Move] Refactor move effect phase (#5678)
* Add enum for hit check result

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Refactor parameter list for pokemon#getBaseDamage and pokemon#getAttackDamage

* Rewrite move phase

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Update tests to reflect move effect phase changes

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Fix pluck / bug bite

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Fix reviver seed ohko, remove leftover dead code

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Cleanup jsdoc comments

* Remove hitsSubstitute check from postDefend abilities

* Fix improper i18nkey in moveEffectPhase#applyToTargets

* Cleanup comments

* Fix type issue with substitute test

* Move MYSTERY_ENCOUNTER_WAVES to constants.ts

* Update linkcode in damageparams to use proper tsdoc syntax

---------

Co-authored-by: innerthunder <brandonerickson98@gmail.com>
2025-04-23 00:10:27 +00:00
..
abilities [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
achievements [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
arena [Bug] Fix forced switch bugs in enemy partner trainer battles (#5644) 2025-04-18 09:35:46 +00:00
battle [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
battlerTags [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
data [Bug] Fix forced switch bugs in enemy partner trainer battles (#5644) 2025-04-18 09:35:46 +00:00
eggs [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
field [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
inputs [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
items [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
moves [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
mystery-encounter [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
phases [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
plugins/api [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
settingMenu [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
sprites [Refactor] Refactor variant sprite code part 1 (#5592) 2025-04-09 10:43:05 -05:00
system [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
testUtils [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
ui [Bug][UI/UX] Fix type hint after enemy disappears (#5677) 2025-04-19 08:04:19 -07:00
account.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
battle-scene.test.ts [Test] Move test folder out of src (#5398) 2025-02-22 22:52:07 -06:00
boss-pokemon.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
daily_mode.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
endless_boss.test.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
enemy_command.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
escape-calculations.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
evolution.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
final_boss.test.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
fontFace.setup.ts [Test] Move test folder out of src (#5398) 2025-02-22 22:52:07 -06:00
game-mode.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
imports.test.ts Revert "[Refactor] Move many interfaces and enums to their own file" (#5661) 2025-04-14 12:28:36 -04:00
internals.test.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
misc.test.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
reload.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
utils.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
vitest.setup.ts [Biome] Add "no unused imports" rule (#5580) 2025-03-29 10:24:23 +00:00