[Bug] Fix final boss 2nd phase transition on status effect damage (#3226)

* fix final-boss phase change on status-effect dmg

- move final-boss 2nd phase check into battle-scene.
- call method at the end of damage phase
- call method at the end of PostTurnStatusEffect phase

* improve ui.getHandler types

* WIP: final_boss.test.ts

* add "should spawn Eternatus on wave 200 in END biome" test

* add more final_boss tests

couldn't cover the form change due to lack of support from current test framework
This commit is contained in:
flx-sta 2024-07-29 20:51:56 -07:00 committed by GitHub
parent c2b2cf08db
commit 7582eefabc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 144 additions and 33 deletions