diff --git a/js/skillpoints.js b/js/skillpoints.js index f2fa858..f83a47e 100644 --- a/js/skillpoints.js +++ b/js/skillpoints.js @@ -204,7 +204,7 @@ function calculate_skillpoints(equipment, weapon) { const skp = needed_skillpoints[i]; best_skillpoints[i] += skp; final_skillpoints[i] += skp; - best_skillpoints += skp; + best_total += skp; } apply_skillpoints(final_skillpoints, weapon, best_activeSetCounts); }