tyrants-edge/data
Brian Fertig fc5babf5a3 refactor(combat): move Bloodrage and Legion to preBattle phase with animations
- Updated `data/cards.json` to change triggers for Bloodrage from `passive` to `preBattle`, and renamed Strike skills to Legion with `preBattle` trigger.
- Refactored `CombatEngine.js` and `SkillProcessor.js`:
  - Removed ad-hoc event pushing for Bloodrage during the attack phase.
  - Moved Legion and Bloodrage processing into the `_preBattlePhase` to generate buff events that are animated before combat resolves.
  - Added logic to track temporary buffs in `_tempBuffs` for Legion.
- Enhanced `BattleScene.js`:
  - Implemented new animations for Legion (cycling flexing arm sprite) and Bloodrage (pulsing red sprite).
  - Added support for restoring and re-applying Drain effects during the pre-battle display phase to ensure correct visual state before animation.
  - Updated sound loading in `BootScene.js` for new `legion` and `bloodrage` effects.
2026-03-15 21:55:36 -06:00
..
campaigns.json feat: Add Bloodthirsty faction campaign with new cards, skills, and animations 2026-03-14 21:56:19 -06:00
cards.json refactor(combat): move Bloodrage and Legion to preBattle phase with animations 2026-03-15 21:55:36 -06:00
missions.json feat: Update card skills, mission rosters, and enhance DeckBuilder UI 2026-03-15 15:23:25 -06:00
packs.json ``` 2026-03-15 18:28:33 -06:00
skills.json ``` 2026-03-15 18:28:33 -06:00