pokerogue/src/system
Mason S 70b9a43c8b
[P2] Fix first-turn status damage and arena hazards (#3528)
* [Bug] Toxic Spikes implementation issues fixed

Adjusted MoveEffectPhase.start() so that ENEMY_SIDE targeted moves no longer occur twice per use in double battles.

Updated Toxic Orb test to no longer expect a tick of damage turn 1.

Fixed Toxic/Poison dealing damage immediately when applied.

Fixed Hazards not persisting through save

Added unit tests

Fixed flyout not displaying correct number of Spikes/Toxic Spikes after a refresh

* Update Toxic Orb test

* Updates Toxic Spikes tests

* Apply suggestions from code review

* Fix merge issues

Replace `integer` with `number` in `arena-tag.ts`

* Remove partial Magic Bounce implementation

* Remove stray newline

* Remove extra change in safeguard test

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-10-11 10:41:54 -04:00
..
settings add new lint rules....again 2024-10-04 13:08:31 +08:00
achv.ts [P2] Fix damage achievements not awarding (#4613) 2024-10-08 11:08:25 -04:00
arena-data.ts [P2] Fix first-turn status damage and arena hazards (#3528) 2024-10-11 10:41:54 -04:00
challenge-data.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
egg-data.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
game-data.ts [P2] Fix first-turn status damage and arena hazards (#3528) 2024-10-11 10:41:54 -04:00
game-speed.ts Fix Error with Typecasting (#1519) 2024-05-28 23:45:18 +01:00
game-stats.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
modifier-data.ts [Dev] Save Data Version Migration (#4080) 2024-09-08 02:40:45 +01:00
pokemon-data.ts [Bugs/Balance] Fix various ME bugs and small balance adjustments (#4369) 2024-09-22 05:47:32 +02:00
session-history.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
trainer-data.ts [QoL] Reorganize Enum Locations (#2185) 2024-06-13 18:44:23 -04:00
unlockables.ts [Enhancement/Item] Add Achievement to Unlock Eviolite (#3390) 2024-08-08 01:07:28 +01:00
version-converter.ts sanitize all money when saving session data to server (#4485) 2024-09-28 04:48:15 +01:00
voucher.ts add new lint rules....again 2024-10-04 13:08:31 +08:00