diff --git a/docs/circular-deps.txt b/docs/circular-deps.txt index 93f4b64..f0fe7a2 100644 --- a/docs/circular-deps.txt +++ b/docs/circular-deps.txt @@ -1,4 +1,4 @@ # Circular Dependencies -Generated: 2026-05-27T09:18:37.387Z +Generated: 2026-05-27T09:26:33.586Z No circular dependencies found. ✅ diff --git a/docs/dependency-graph.json b/docs/dependency-graph.json index 1772f39..264649f 100644 --- a/docs/dependency-graph.json +++ b/docs/dependency-graph.json @@ -1,6 +1,6 @@ { "_meta": { - "generated": "2026-05-27T09:18:35.464Z", + "generated": "2026-05-27T09:26:31.763Z", "description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.", "usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry." }, diff --git a/src/lib/game/data/equipment/utils.ts b/src/lib/game/data/equipment/utils.ts index 0b9cbd1..433dac3 100644 --- a/src/lib/game/data/equipment/utils.ts +++ b/src/lib/game/data/equipment/utils.ts @@ -46,9 +46,9 @@ export function getValidSlotsForCategory(category: EquipmentCategory): Equipment // Get valid slots for a specific equipment type (considers 2-handed weapons) export function getValidSlotsForEquipmentType(equipType: EquipmentType): EquipmentSlot[] { - // 2-handed weapons occupy both main hand and offhand + // 2-handed weapons can only be equipped in the main hand (they occupy both hands) if (equipType.twoHanded) { - return ['mainHand', 'offHand']; + return ['mainHand']; } // Otherwise use category-based slots