fa448f233c
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
Bug #293: elementDrain was computed but never subtracted from element pools. The tick pipeline now applies net regen (produced - drained) instead of gross production to element pools, matching the spec §8 regen deduction model.
11 lines
494 B
Plaintext
11 lines
494 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-06-08T09:52:22.958Z
|
|
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.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) |