da4f9eccb3
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s
- Add PerkBonus type and optional bonus field to DisciplinePerk - Populate bonus data on 39 perks across base, elemental, elemental-regen, elemental-regen-advanced, and invoker discipline files - Rewrite computeDisciplineEffects() to apply once/infinite/capped perk bonuses through known stat keys (maxManaBonus, baseDamageBonus, regen_*, elementCap_*) - Add per-element cap bonus routing in effects.ts computeAllEffects() - Remove dead enchantPower bonus (no consumer in effects pipeline)
16 lines
744 B
Plaintext
16 lines
744 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-05-26T15:02:41.168Z
|
|
Found: 6 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. Processed 135 files (1.5s) (2 warnings)
|
|
2. 1) utils/floor-utils.ts > utils/room-utils.ts > utils/enemy-utils.ts
|
|
3. 2) utils/floor-utils.ts > utils/room-utils.ts
|
|
4. 3) stores/gameStore.ts > stores/gameActions.ts
|
|
5. 4) stores/gameStore.ts > stores/gameLoopActions.ts
|
|
6. 5) 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) |