Files
Mana-Loop/docs/task3/subtask_9.md
T
Refactoring Agent 06778f96b3
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 6m42s
Task 3: Step 2 complete - plan sub-tasks for bug fixes
2026-04-27 10:53:08 +02:00

25 lines
934 B
Markdown

# Sub-Task 9: StatsTab Mana Breakdown (Bug 14)
## Scope
- **Components affected**:
- `components/StatsTab.tsx` (add mana breakdown section)
- Mana system data (current value, capacity, regen rate, modifiers)
- **Files potentially affected**:
- `utils/manaUtils.ts` (export mana breakdown data)
- `store/manaSlice.ts` (provide modifiers like attunements, conversion drains)
- `types/stats.ts` (if stats types need updates)
## Acceptance Criteria
1. StatsTab shows clear breakdown for each mana type including:
- Current value
- Capacity
- Regen rate (effective, after conversion deductions from Bug 10)
- Modifiers affecting them (attunements, conversion drains, etc.)
2. Breakdown is visually clear and easy to read
3. Data updates reactively when mana state changes
## Dependencies
- Sub-Task 8 (requires conversion drain data from Bug 10 fix)
## Estimated Complexity
- Medium (UI update + data integration)