# Sub-Task 4: EquipmentTab 2H Offhand Disable (Bug 6) ## Scope - **Components affected**: - `components/EquipmentTab.tsx` (offhand slot logic) - Equipment slot rendering components (e.g., `EquipmentSlot.tsx`) - Item type checking logic (to detect 2-handed weapons) - **Files potentially affected**: - `types/items.ts` (item type definitions for 2-handed weapons) - `store/equipmentSlice.ts` or similar state management for equipment - `utils/itemUtils.ts` for item type helper functions ## Acceptance Criteria 1. When a 2-handed staff (or any 2-handed weapon) is equipped in mainhand, offhand slot is visibly disabled/occupied (verify visually: grayed out, tooltip indicating why) 2. Player cannot equip any item in offhand while 2-handed weapon is equipped (verify via UI and state checks) 3. Equipping a 2-handed weapon automatically clears any existing offhand item (if required by game logic) ## Dependencies - None (independent sub-task) ## Estimated Complexity - Medium (item type logic + UI state management)