tyrants-edge/src
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
..
combat feat: track pre/post HP in wound/venom/smite events and improve stat refresh logic 2026-04-03 09:59:50 -06:00
managers feat: implement Deck Builder and Collection tutorial phases 2026-03-31 23:24:13 -06:00
objects feat: track pre/post HP in wound/venom/smite events and improve stat refresh logic 2026-04-03 09:59:50 -06:00
scenes feat: track pre/post HP in wound/venom/smite events and improve stat refresh logic 2026-04-03 09:59:50 -06:00
utils initial commit 2026-03-12 16:36:32 -06:00
game.js feat: add skirmish deck selection and drafting system 2026-04-01 20:04:06 -06:00