- Add hpBefore/hpAfter fields to woundTick/venomTick/smiteTick events for accurate damage tracking - Introduce CardObject.refreshStatsOnly() to update ATK/ARM/DLY/skills without touching HP or badges - Refactor BattleScene._refreshCardAfterAttack() and related methods to use refreshStatsOnly() instead of full refresh, preserving HP animations and badge timing - Update animateHPLoss calls to pass hpBefore/hpAfter for precise progress tracking - Fix berserk animation to correctly rewind before animating ATK gain - Remove redundant commander HP bar updates during attacks (handled by preAttack skills) - Add _restoreSiegeFiresForDisplay/_reapplySiegeFires to temporarily undo siege damage for display This change separates stat updates from HP management, ensuring animations and UI remain consistent with the combat engine's state transitions. |
||
|---|---|---|
| .. | ||
| BattleResultScene.js | ||
| BattleScene.js | ||
| BootScene.js | ||
| CampaignScene.js | ||
| CampaignSelectScene.js | ||
| CollectionScene.js | ||
| DeckBuilderScene.js | ||
| FusionScene.js | ||
| IntroScene.js | ||
| MainMenuScene.js | ||
| SkirmishDeckSelectScene.js | ||
| SkirmishDraftScene.js | ||
| SkirmishSetupScene.js | ||
| StoreScene.js | ||