[priority: 3] createGatherMana hardcodes click mana to 1 — ignores all skill/upgrade bonuses #76
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/gameActions.ts, lines 33-48Description:
Click mana is hardcoded to
1andcomputeClickManais never called:The
computeClickManafunction adds bonuses frommanaTapandmanaSurgeskills, but it's never invoked. Also,computeMaxManais called with empty skill objects, so skill-based max mana bonuses don't apply either. Click mana always gives exactly 1 mana regardless of upgrades.Fix: Call
computeClickManawith actual skill state and pass the result togatherMana.Starting work on Issue 76: createGatherMana hardcodes click mana to 1 — ignores all skill/upgrade bonuses. Part of the same skill→discipline migration gap.
Fixed: Updated
createGatherManaingameActions.tsto usecomputeClickManawith discipline effects instead of hardcoding click mana to 1. Themana-channelingdiscipline'sclickManaMultiplierbonus is now applied. Also updatedcomputeMaxManacall to pass discipline effects.