Files
Mana-Loop/docs/task3/subtask_8.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

1.0 KiB
Raw Blame History

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)
  • 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

  1. Mana conversion rates (from attunements) are deducted from raw mana regeneration rate
  2. Example: 3.8 raw regen 0.2 transference conversion = 3.6 effective raw regen (verify via calculation checks)
  3. Effective regen is used for all mana regeneration in-game
  4. 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)