tyrants-edge/src/scenes
Brian Fertig d5a30da9aa feat: track pre/post HP in wound/venom/smite events and improve stat refresh logic
- 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.
2026-04-03 09:59:50 -06:00
..
BattleResultScene.js feat: add skirmish deck selection and drafting system 2026-04-01 20:04:06 -06:00
BattleScene.js feat: track pre/post HP in wound/venom/smite events and improve stat refresh logic 2026-04-03 09:59:50 -06:00
BootScene.js feat: add skirmish deck selection and drafting system 2026-04-01 20:04:06 -06:00
CampaignScene.js feat: update mission 030-037 content and balance adjustments 2026-03-31 11:49:08 -06:00
CampaignSelectScene.js feat: overhaul campaign UI with CRT terminal aesthetic and balance skills 2026-03-26 21:31:51 -06:00
CollectionScene.js bump mission rewards and add first-clear card logic 2026-03-22 12:51:43 -06:00
DeckBuilderScene.js feat: implement Deck Builder and Collection tutorial phases 2026-03-31 23:24:13 -06:00
FusionScene.js feat: add tutorial stages for Store intro (5) and Fusion intro (6) 2026-03-31 23:01:32 -06:00
IntroScene.js Add IntroScene with video playback and skip functionality 2026-03-25 20:47:18 -06:00
MainMenuScene.js Updated Store Tutorial Gold Qualifier 2026-04-01 10:23:46 -06:00
SkirmishDeckSelectScene.js refactor: Add optional refresh control to _buildPanel in SkirmishDeckSelectScene 2026-04-01 20:34:19 -06:00
SkirmishDraftScene.js feat(draft): implement alternating draft mode with dual-deck UI 2026-04-02 21:04:25 -06:00
SkirmishSetupScene.js feat: add skirmish deck selection and drafting system 2026-04-01 20:04:06 -06:00
StoreScene.js Updated Store Tutorial Gold Qualifier 2026-04-01 10:23:46 -06:00