NightKev
5e2dfa975a
Rename PokemonTurnData
's damageDealt
and currDamageDealt
( #4784 )
2024-11-03 14:09:28 -08:00
torranx
644c078a6c
add new lint rules....again
2024-10-04 13:08:31 +08:00
flx-sta
1a5cbf8ecb
[Refactor][Tests] Set default test timeout to 20s
( #4338 )
...
* set default test timeout to 20s
* remove "TIMEOUT" reference from create-test-boilerplate
* remove TIMEOUT from tests
* test: remove leftover `20 sec timeout` references
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-20 23:05:45 +02:00
NightKev
11d912bad8
[Dev] Make OPP_MOVESET_OVERRIDE
fully override the enemy's moveset ( #4062 )
...
* Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset
* Update tests with new override behavior
* Fix tests
* Fix another test
* Move overrides no longer required to be arrays
* Remove `SPLASH_ONLY` test utility variable
* Update moveset override helper functions
* Missed some tests
2024-09-09 12:55:11 -04:00
innerthunder
207b3e1eb7
[Test] Add forceEnemyMove
Game Manager util ( #3678 )
...
* Add `forceEnemyMove` test util
* fix ceaseless edge test
* Apply flx's suggestions
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Rewrite Follow Me test
* Reorganize new imports in game manager
* Rewrite Rage Powder + Spotlight tests
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-04 17:56:57 +00:00
NightKev
828897316e
[Test] Replace doAttack()
with move.select()
in tests ( #3567 )
...
* Consolidate `doSelectTarget()` into `doAttack()`
* Fix ternary
* Add error message to aid in debugging tests
* Update docs
* [Test] Change `doAttack()` to `selectMove()`
* Add `select()` to `src/test/utils/helpers/moveHelper.ts`
* Replace instances of `game.selectMove()` with `game.move.select()`
* Fix imports
* Replace `selectMove()` with `move.select()` helper
Fix broken tests for Pastel Veil and Sweet Veil
* Update tsdocs
2024-08-22 06:49:33 -07:00
Frederico Santos
ae2ab120dc
Deleted phases.ts ( #3618 )
2024-08-19 03:23:52 +01:00
innerthunder
2b99f005dc
[Enhancement] Add Move Header phase and attributes ( #2716 )
...
* Create Move Header phase and attributes
* Fix move header persisting after run/ball
* Add mid-turn sleep test
* Fix status effect text in move header phase
* Remove preemptive non-volatile status check
* Process move headers in main loop of TurnStartPhase instead
* Fix merge issues in Focus Punch test
* Fix Focus Punch test + ESLint
* Add i18n key for Focus Punch header message
* Fix missing arg in i18n message
* Add Focus Punch message translations (DE, FR, KO, PT-BR, ZH)
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Sonny Ding <93831983+sonnyding1@users.noreply.github.com>
* Update src/locales/it/move-trigger.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Use new test helper functions + snooz's cleanup suggestions
* Add check for MoveHeaderPhase in switch test
* Add key to JA locale
* Add CA-ES locale key
* Fix strict-null checks in focus punch test
---------
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Sonny Ding <93831983+sonnyding1@users.noreply.github.com>
2024-08-07 14:32:56 -04:00