[priority: 3] tick() passes empty skill objects to computeMaxMana/computeRegen — skill bonuses ignored #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: 3 — Medium
File:
src/lib/game/stores/gameStore.ts, lines 76-84Description:
Skills, skillUpgrades, and skillTiers are all passed as empty objects
{}:Skill-based mana and regen bonuses are completely ignored during the game tick. Only prestige upgrades affect max mana and regen.
Fix: Pass actual skill state from the appropriate store.
Starting work on Issue 77: tick() passes empty skill objects to computeMaxMana/computeRegen — skill bonuses ignored. Part of the same skill→discipline migration gap.
Fixed: Updated
tick()ingameStore.tsto pass discipline effects tocomputeMaxMana,computeRegen, andcalcInsight. Theraw-masterydiscipline'smaxManaBonusnow contributes to max mana calculation. Also updatedgameLoopActions.tsto pass discipline effects tocalcInsight.