fix: createDefaultCombatState now uses discipline-aware channel stats
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s

- Import computeChannelStats in combat-reset.ts
- Replace hardcoded channelSpeedMultiplier/channelDrainRate with computed values
- Fixes bug where resetCombat() lost discipline-modified channel stats
- Add regression tests in combat-reset-channel-stats.test.ts
This commit is contained in:
2026-06-15 12:28:48 +02:00
parent e76528b449
commit 5f4d29d96e
5 changed files with 128 additions and 23 deletions
+1
View File
@@ -209,6 +209,7 @@ Mana-Loop/
│ │ │ │ ├── bug-377-mana-auto-unlock.test.ts
│ │ │ │ ├── bug-fixes.test.ts
│ │ │ │ ├── combat-actions.test.ts
│ │ │ │ ├── combat-reset-channel-stats.test.ts
│ │ │ │ ├── combat-utils.test.ts
│ │ │ │ ├── computed-stats.test.ts
│ │ │ │ ├── conversion-pause-bug-regression.test.ts