pokerogue/src/test
PrabbyDD 3a683c0663
[Bug] Fix for "Moves Can Miss Against Protect, Baneful Bunker, King's Shield" (#4262)
* added various tests for protect based moves, reset protect test file bc no easy way to test specifically with protect, and changes in move-effect to fix the issue

* adding another non contact move test for baneful bunker

* Update src/test/moves/obstruct.test.ts

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>

* Update src/test/moves/baneful_bunker.test.ts

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>

* Update src/test/moves/baneful_bunker.test.ts

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>

* Update src/test/moves/baneful_bunker.test.ts

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>

* better descriptions for baneful bunker test

---------

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
2024-09-14 20:11:54 -04:00
..
abilities [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
achievements [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
arena [Bug] Primal weather no longer persists if last mon dies to indirect damage (#3492) 2024-09-09 12:59:58 -04:00
battle [Enhancement][EnemyAI] Add support for simulated damage calculations and "Search for KO" move filtering (#3975) 2024-09-13 22:54:22 -07:00
battlerTags [Bug][Beta] Fix bugs from Substitute implementation (#4226) 2024-09-13 22:15:12 -04:00
eggs [Bug] Fix rare egg move and species rates for Manaphy eggs (#4125) 2024-09-10 10:15:07 -04:00
field [Bug] Fix #762: All Pokemon become invisible when capturing then switching with your only pokemon that was not fainted (#4025) 2024-09-09 01:10:47 -04:00
inputs [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
items [Balance] Disable Eviolite for G-Max Pokémon (#4184) 2024-09-11 20:56:58 -04:00
localization [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
moves [Bug] Fix for "Moves Can Miss Against Protect, Baneful Bunker, King's Shield" (#4262) 2024-09-14 20:11:54 -04:00
mystery-encounter [BUG] Fix a couple of bugs regarding MEs and their localization (#4261) 2024-09-14 19:12:55 -04:00
phases [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
settingMenu [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
sprites [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
ui [Bug] Fix exp gains speed not applying properly (#4243) 2024-09-14 12:35:46 -04:00
utils [Bug] Fix exp gains speed not applying properly (#4243) 2024-09-14 12:35:46 -04:00
account.test.ts [Misc] eslint rule to prevent `.js` imports (#4160) 2024-09-10 22:34:50 +02:00
battle-scene.test.ts [Bug] Fix eggs having exploitable RNG (#3913) 2024-09-02 22:18:18 -04:00
boss-pokemon.test.ts [Dev] Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset (#4062) 2024-09-09 12:55:11 -04:00
daily_mode.test.ts [Bug] Fix daily run generated movesets (#3519) 2024-08-13 21:48:56 +01:00
endless_boss.test.ts [Test] Add test for final boss fight phase switch (#3847) 2024-09-01 22:47:22 -04:00
enemy_command.test.ts [Misc][AI] Fix KO filter not accounting for move conditions (#4245) 2024-09-14 12:35:36 -04:00
escape-calculations.test.ts [Balance] Changed escape calculation (#3973) 2024-09-05 05:29:39 +00:00
evolution.test.ts [Dev] Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset (#4062) 2024-09-09 12:55:11 -04:00
final_boss.test.ts [Dev] Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset (#4062) 2024-09-09 12:55:11 -04:00
fontFace.setup.ts tests: add mock for FontFace and it to vitest setup (#1591) 2024-05-30 04:44:36 +01:00
game-mode.test.ts [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
imports.test.ts [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
internals.test.ts [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
misc.test.ts [Test] Tests now default to using "Set" battle style (#3728) 2024-09-01 23:32:31 -04:00
pre.test.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
reload.test.ts [Dev] Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset (#4062) 2024-09-09 12:55:11 -04:00
vitest.setup.ts [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00