Task 3: Step 2 complete - plan sub-tasks for bug fixes
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 6m42s

This commit is contained in:
Refactoring Agent
2026-04-27 10:53:08 +02:00
parent 5f1f72d892
commit 06778f96b3
22 changed files with 508 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# 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)