- 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. |
||
|---|---|---|
| .. | ||
| attacks.png | ||
| attacks.psd | ||