Files
Mana-Loop/docs/circular-deps.txt
T
n8n-gitea bdf2b0050f
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
fix: apply mana drain when practicing disciplines
- processTick() now calls calculateManaDrain() for non-conversion disciplines
- Insufficient mana triggers auto-paused state (skips XP accrual)
- Conversion disciplines (sourceManaTypes) correctly skip pool drain
- Auto-paused disciplines can be re-activated when mana is restored
- Updated 7 tests across 3 files to reflect drain model
2026-06-10 10:50:40 +02:00

12 lines
585 B
Plaintext

# Circular Dependencies
Generated: 2026-06-10T08:14:33.822Z
Found: 2 circular chain(s) — these MUST be fixed before modifying involved files.
1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts
2. 2) stores/combatStore.ts > stores/combat-descent-actions.ts > stores/attunementStore.ts
## How to fix
1. Identify which import in the chain can be extracted to a shared types/utils file.
2. Move the shared type or function there.
3. Both files import from the new shared module instead of each other.
4. Run: bunx madge --circular src/lib/game (should return clean)