Combat foundation complete

This commit is contained in:
2025-11-27 22:18:58 -06:00
parent dd92cf5991
commit 6d3fb63355
33 changed files with 1870 additions and 85 deletions

View File

@@ -711,25 +711,25 @@ app.register_blueprint(combat_bp, url_prefix='/combat')
---
#### Task 3.4: Combat Testing & Polish (1 day / 8 hours)
#### Task 3.4: Combat Testing & Polish ✅ COMPLETE
**Objective:** Playtest combat and fix bugs
**Testing Checklist:**
- [ ] Start combat from story session
- [ ] Turn order correct
- [ ] Attack deals damage
- [ ] Critical hits work
- [ ] Spells consume mana
- [ ] Effects apply and tick correctly
- [ ] Items can be used in combat
- [ ] Defend action works
- [ ] Victory awards XP/gold/loot
- [ ] Defeat handling works
- [ ] Combat log readable
- [ ] HP/MP bars update
- [ ] Multiple enemies work
- [ ] Combat state persists (refresh page)
- Start combat from story session
- Turn order correct
- Attack deals damage
- Critical hits work
- [ ] Spells consume mana - unable to test
- Effects apply and tick correctly
- [ ] Items can be used in combat - unable to test
- Defend action works
- Victory awards XP/gold/loot
- Defeat handling works
- Combat log readable
- HP/MP bars update
- Multiple enemies work - would like to update to allow the player to select which enemy to attack
- Combat state persists (refresh page)
**Bug Fixes & Polish:**
- Fix any calculation errors