Files
Mana-Loop/docs
n8n-gitea 99a5f498c0
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
fix: cap cast progress at 100% after descent completion (bug #381)
Defense-in-depth fix across 2 files:

1. combat-descent-actions.ts: Added castProgress: 0 and weaponCastProgress: {}
   to the isDescentComplete set() call so the meter resets immediately.

2. combat-actions.ts: Added isDescentComplete to the early-exit guard in
   processCombatTick so combat processing stops entirely once descent is
   complete, preventing phantom spell casts from stale castProgress values.

All 1196 tests pass.
2026-06-12 19:03:02 +02:00
..