Go to file
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
.claude Refactor combat: move `drain` to pre-battle phase and rebalance card stats 2026-03-15 09:18:24 -06:00
assets refactor(combat): move Bloodrage and Legion to preBattle phase with animations 2026-03-15 21:55:36 -06:00
data refactor(combat): move Bloodrage and Legion to preBattle phase with animations 2026-03-15 21:55:36 -06:00
src refactor(combat): move Bloodrage and Legion to preBattle phase with animations 2026-03-15 21:55:36 -06:00
CLAUDE.md refactor(ui): upgrade to 1920x1080 resolution with responsive scaling 2026-03-12 23:52:11 -06:00
index.html feat(ui): add custom fonts and apply Audiowide/RaiderCrusader across all scenes 2026-03-15 13:57:59 -06:00
start_web.sh initial commit 2026-03-12 16:36:32 -06:00