1.0 KiB
1.0 KiB
Sub-Task 8: Mana System Conversion Regen Deduction (Bug 10)
Scope
- Core files affected:
- Mana system logic (e.g.,
utils/manaUtils.ts,hooks/useMana.ts) - Mana regeneration calculation functions
- Mana state management (e.g.,
store/manaSlice.ts)
- Mana system logic (e.g.,
- Files potentially affected:
types/mana.ts(mana type definitions, conversion rates)- Any components displaying mana regen rates (to show effective vs raw regen)
- StatsTab (will be updated in Sub-Task 9 to show conversion drains)
Acceptance Criteria
- Mana conversion rates (from attunements) are deducted from raw mana regeneration rate
- Example: 3.8 raw regen − 0.2 transference conversion = 3.6 effective raw regen (verify via calculation checks)
- Effective regen is used for all mana regeneration in-game
- Conversion drains are properly tracked and available for UI display (needed for Sub-Task 9)
Dependencies
- None (independent, but Sub-Task 9 depends on this)
Estimated Complexity
- Medium (mana calculation logic update)