pokerogue/src
Wlowscha 5743751e5c
[Bug][Test] Adding bypass faint to abilities that need it + fixing Perish Body (#5226)
* Added tests for snad spit, seed sower and perish body; for all three, the test checking if the ability triggers after the user faints is failing.

* Adding .bypassFaint() to the three abilities, tests passing

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Removed incorrect test for perish song

* Added tests for perish body when one mon already has the perish song tag, both ways

* Changed ability behavior to pass tests

* Removing superfluous conditional

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-02-11 17:01:54 -06:00
..
@types [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
configs/inputs add new lint rules....again 2024-10-04 13:08:31 +08:00
data [Bug][Test] Adding bypass faint to abilities that need it + fixing Perish Body (#5226) 2025-02-11 17:01:54 -06:00
enums [Ability] [Move] Implement Magic Bounce and Magic Coat (#5225) 2025-02-11 03:25:36 -08:00
events [Refactor] Replace all instances of `integer` with `number` (#5250) 2025-02-04 17:56:13 -07:00
field [Move] Spectral Thief Full Implementation (#4891) 2025-02-11 03:26:01 -08:00
interfaces [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
modifier [Balance] Change IV Scanner to single stack (#5299) 2025-02-11 16:35:24 -06:00
phases [Balance] Change IV Scanner to single stack (#5299) 2025-02-11 16:35:24 -06:00
pipelines [Refactor] Replace all instances of `integer` with `number` (#5250) 2025-02-04 17:56:13 -07:00
plugins [UI/UX] In-Game Pokedex (#5083) 2025-02-08 11:48:06 -05:00
system [Ability][Move] Last Respects Refactor and Full Implementation (#5200) 2025-02-11 00:53:37 -06:00
test [Bug][Test] Adding bypass faint to abilities that need it + fixing Perish Body (#5226) 2025-02-11 17:01:54 -06:00
typings/phaser centralize module typing overrides (#1786) 2024-08-24 12:46:16 -07:00
ui Adding for text on main dex page (#5300) 2025-02-11 16:40:20 -06:00
account.ts [Refactor] Replace all instances of `integer` with `number` (#5250) 2025-02-04 17:56:13 -07:00
battle-scene.ts [Ability] [Move] Implement Magic Bounce and Magic Coat (#5225) 2025-02-11 03:25:36 -08:00
battle.ts [Ability][Move] Last Respects Refactor and Full Implementation (#5200) 2025-02-11 00:53:37 -06:00
constants.ts Revert "[UI/UX] Refactor and enable seasonal splash messages (#5009)" (#5014) 2024-12-19 16:04:12 -08:00
debug.js ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
game-mode.ts [Refactor] Replace all instances of `integer` with `number` (#5250) 2025-02-04 17:56:13 -07:00
global-scene.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
inputs-controller.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
loading-scene.ts [Misc] Add data for theoretical Valentine's event (#5244) 2025-02-10 00:30:39 -06:00
main.ts [Hotfix] Fix manifest getting loaded before the game is initialized (#4739) 2024-10-27 21:32:30 +01:00
messages.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
overrides.ts [Refactor/Bug] `Pokemon.leaveField()`, Fix Related Abilities (#5191) 2025-02-06 18:37:50 -05:00
phase.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
scene-base.ts [Refactor] Replace all instances of `integer` with `number` (#5250) 2025-02-04 17:56:13 -07:00
timed-event-manager.ts [Misc] Add data for theoretical Valentine's event (#5244) 2025-02-10 00:30:39 -06:00
touch-controls.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
tutorial.ts [UI/UX] In-Game Pokedex (#5083) 2025-02-08 11:48:06 -05:00
ui-inputs.ts [UI/UX] In-Game Pokedex (#5083) 2025-02-08 11:48:06 -05:00
utils.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
utils.ts [Refactor] Replace all instances of `integer` with `number` (#5250) 2025-02-04 17:56:13 -07:00
vite.env.d.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00