tyrants-edge/assets/audio/fx
Brian Fertig ad4db7f541 feat(combat): implement pre-battle healing with animations and audio
Moves the `heal` skill trigger from `on_attack` to `preBattle`, allowing cards to restore HP before combat begins. Updates `data/cards.json` to reflect new skill configurations (changing `strike`/`armored` to `swipe`/`heal` for specific cards).

Changes include:
- **Data**: Updated `skills.json` descriptions and triggers. Modified `cards.json` to use the new `heal` skill with `preBattle` trigger.
- **Engine**: Refactored `CombatEngine` to collect `healFires` during pre-battle processing and removed legacy `healAll` event logic from the attack phase.
- **Logic**: Updated `SkillProcessor` to track heal targets and amounts in the context for animation purposes.
- **Visuals**: Added `sfx_heal` audio asset and implemented new animation sequences in `BattleScene` (`_processHealFires`, `_animateHealFire`, `_doHealSpriteAndHP`) featuring flying sprites, HP text pulses, and floating damage numbers.
- **State Management**: Added `_restoreHealForDisplay` and `_reapplyHeal` to handle state snapshots correctly during the pre-battle render phase.
2026-03-21 12:32:21 -06:00
..
attack.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
bloodpact.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
bloodrage.mp3 refactor(combat): move Bloodrage and Legion to preBattle phase with animations 2026-03-15 21:55:36 -06:00
burrow.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
carapace.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
counter.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
damage.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
destroy.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
drain.mp3 feat: Add Bloodthirsty faction campaign with new cards, skills, and animations 2026-03-14 21:56:19 -06:00
enfeeble.mp3 feat: implement card leveling system and campaign progression 2026-03-14 13:00:16 -06:00
heal.mp3 feat(combat): implement pre-battle healing with animations and audio 2026-03-21 12:32:21 -06:00
hive_link.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
jam.mp3 feat: implement card leveling system and campaign progression 2026-03-14 13:00:16 -06:00
later-sound-1.mp3 feat: implement card leveling system and campaign progression 2026-03-14 13:00:16 -06:00
legendary-play.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
legion.mp3 refactor(combat): move Bloodrage and Legion to preBattle phase with animations 2026-03-15 21:55:36 -06:00
menu_hover.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
menu_select.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
molt-stage1.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
molt-stage2.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
mortar.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
pierce.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
protect.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
rally.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
siege.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
siphon.mp3 feat: Add Bloodthirsty faction campaign with new cards, skills, and animations 2026-03-14 21:56:19 -06:00
strike.mp3 feat: Add sound effects for battle actions and menu interactions 2026-03-14 08:47:26 -06:00
swarm.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
swipe_01.mp3 feat(combat): implement "Swipe" skill with sequential multi-target animation 2026-03-14 17:05:46 -06:00
swipe_02.mp3 feat(combat): implement "Swipe" skill with sequential multi-target animation 2026-03-14 17:05:46 -06:00
venom-apply.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00
venom-effect.mp3 feat(xeno): add faction assets, skills, and combat mechanics 2026-03-21 10:12:10 -06:00