refactor: Replace natural-regen disciplines with mana conversion speed disciplines
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
- Add conversionRate + sourceManaTypes fields to DisciplineDefinition
- Rewrite elemental-regen.ts: 8 base disciplines now convert raw→element
- Rewrite elemental-regen-advanced.ts: 6 composite/exotic disciplines with proper source recipes
- Update discipline-effects.ts: produce conversion entries instead of regen bonuses
- Update gameStore.ts tick: drain source mana types, add to target element
- Update discipline-slice.ts: gate activation on source mana type access
- Update discipline-math.ts: resolve mana type IDs to 'X mana' display names
- Update DisciplinesTab.tsx: show conversion info, source requirements, and lock state
- Update DisciplineDebugSection.tsx: pass elements to activate()
- Update effects.ts: remove regen_{element} merge (no longer produced)
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-05-26T16:28:29.780Z
|
||||
Found: 6 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
Generated: 2026-05-26T16:39:59.755Z
|
||||
Found: 7 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
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user