Files
Mana-Loop/docs/circular-deps.txt
T
n8n-gitea 1aea72c013
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m21s
refactor: Redesign Invoker disciplines for pact bonuses and guardian boons
- Replace generic spell-casting/void-manipulation with pact-focused disciplines
- Add Pact Attunement (light): reduces pact signing time, boosts pact affinity
- Add Guardian's Boon (dark): amplifies all guardian unique perks
- Add pactAffinityBonus and guardianBoonMultiplier stat keys to effect system
- Apply pactAffinityBonus in pact signing time calculation (gameStore)
- Scale guardian boon values by guardianBoonMultiplier (combat-utils)
- Guard Invoker discipline activation behind signedPacts.length > 0
- Add 'Signed guardian pact' prerequisite display in discipline-math
2026-05-26 21:43:46 +02:00

17 lines
860 B
Plaintext

# Circular Dependencies
Generated: 2026-05-26T18:59:01.066Z
Found: 7 circular chain(s) — these MUST be fixed before modifying involved files.
1. Processed 135 files (1.6s) (2 warnings)
2. 1) effects/discipline-effects.ts > stores/discipline-slice.ts > stores/combatStore.ts > stores/combat-actions.ts
3. 2) utils/floor-utils.ts > utils/room-utils.ts > utils/enemy-utils.ts
4. 3) utils/floor-utils.ts > utils/room-utils.ts
5. 4) stores/gameStore.ts > stores/gameActions.ts
6. 5) stores/gameStore.ts > stores/gameLoopActions.ts
7. 6) stores/gameStore.ts > stores/tick-pipeline.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)