28d39a61ba
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m34s
- Add getTwoHandedBlocker() helper to EquipmentSlotGrid that detects when mainHand has a two-handed weapon and returns the weapon name - Render offHand slot with Lock icon + 'Blocked: <weapon name>' label + reduced opacity when blocked, distinct from normal 'Empty' dashed-border slot - Add regression test verifying all 4 two-handed types are correctly flagged and non-two-handed types remain unblocked (11 tests)
12 lines
585 B
Plaintext
12 lines
585 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-06-09T13:31:30.036Z
|
|
Found: 2 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts
|
|
2. 2) stores/combatStore.ts > stores/combat-descent-actions.ts > stores/attunementStore.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) |