0add3d6260
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m24s
Bug 1 - No auto-resume: Replaced 'if (disc.autoPaused) continue' with a check that tests whether sufficient mana is now available. If so, clears autoPaused and processes the tick normally. Mana regen runs before discipline processing, so updated mana values are already available. Bug 2 - Bonuses while paused: Added '&& !disc.autoPaused' filter in discipline-effects.ts so paused disciplines no longer contribute stat bonuses, conversion rates, or perk effects. All 1196 tests pass.
14 lines
776 B
Plaintext
14 lines
776 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-06-12T16:57:09.913Z
|
|
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
|
2. 2) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts
|
|
3. 3) stores/attunementStore.ts > stores/combatStore.ts > stores/combat-descent-actions.ts
|
|
4. 4) stores/attunementStore.ts > stores/combatStore.ts > stores/combat-descent-actions.ts > stores/non-combat-room-actions.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) |