pokerogue/test
Desroi 7873181726
[Bug] Fix Recoil & Shell Bell not applying when hitting Substitute
https://github.com/pagefaultgames/pokerogue/pull/5712

* Created Double Edge testing for recoil damage on substitutes

* Changed the logic for substitute damage

* Made testing for the updated substitute logic

* Update test formatting

* Fixed error in damage logic

* Apply Biome

* Fix test file

* Apply suggestion and update test

* Remove obsolete workaround and console logs

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-08-07 22:46:19 -05:00
..
@types [Test] Port over + augment remaining test matchers from pkty (#6159) 2025-08-02 15:35:06 -07:00
abilities [Test] Improved tests for arena trap (#6209) 2025-08-08 01:00:34 +00:00
achievements [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
arena [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
battle [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
battler-tags [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
challenges [Challenge] Add Nuzlocke-related Challenges (#6186) 2025-08-07 18:47:28 -06:00
data [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
eggs [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
field [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
inputs [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
items [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
moves [Bug] Fix Recoil & Shell Bell not applying when hitting Substitute 2025-08-07 22:46:19 -05:00
mystery-encounter [Balance] Minor ME Adjustments and Fixes 1.10 (#6166) 2025-08-07 16:42:58 -05:00
phases [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
plugins/api [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
setting-menu [Misc] Moved + cleaned up string manipulation functions (#6112) 2025-07-27 13:59:03 -07:00
sprites [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
system [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
test-utils [Dev] Move various functions out of pokemon-species.ts (#6155) 2025-08-02 19:35:06 -07:00
types [Test] Port over + augment remaining test matchers from pkty (#6159) 2025-08-02 15:35:06 -07:00
ui [Docs/Misc/i18n] Fix typos (#6231) 2025-08-07 18:56:50 -06:00
utils [Misc] Moved + cleaned up string manipulation functions (#6112) 2025-07-27 13:59:03 -07:00
account.test.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
battle-scene.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
boss-pokemon.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
daily-mode.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
endless-boss.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
enemy-command.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
escape-calculations.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
evolution.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
final-boss.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
font-face.setup.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
game-mode.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
imports.test.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
internals.test.ts [Test] Replace game.scene.getXPokemon()! with game.field.getXPokemon() 2025-08-04 21:19:57 -07:00
matchers.setup.ts [Test] Port over + augment remaining test matchers from pkty (#6159) 2025-08-02 15:35:06 -07:00
misc.test.ts [Misc] Move asset initialization from preload to launchBattle 2025-08-02 14:29:35 -07:00
reload.test.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
utils.test.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
vitest.setup.ts [Dev] Remove sanitizeOverrides, consolidate initialization code into 1 file 2025-07-25 01:23:13 +00:00