62638d62d5
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m21s
Previously the pact affinity cast speed bonus was only applied to invocation spells. Per spec §6.2 and §10.2, it should apply to ALL spell casts (active, equipment, and invocation). Changes: - invocation-utils.ts: Added computeAttackSpeedMultFromPactAffinity() helper that combines prestige upgrade + discipline bonus and applies the diminishing returns formula - gameStore.ts: Compute total pact affinity (prestige + discipline) and apply cast speed bonus to attackSpeedMult passed to processCombatTick - combat-actions.ts: Use attackSpeedMult directly for active/equipment spell cast progress (bonus already baked in) - combat-invocation.ts: Use attackSpeedMult directly for invocation cast progress (bonus already baked in), removed redundant pactAffinity parameter
14 lines
776 B
Plaintext
14 lines
776 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-06-13T11:42:23.525Z
|
|
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) |