From 5788b9eae33b6a1ecc136ff2d0aae0a035ecd0d3 Mon Sep 17 00:00:00 2001 From: b Date: Sat, 10 Apr 2021 15:04:34 -0700 Subject: [PATCH] Revert skillpoint bug --- skillpoints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skillpoints.js b/skillpoints.js index a17d710..9d16201 100644 --- a/skillpoints.js +++ b/skillpoints.js @@ -61,7 +61,7 @@ function calculate_skillpoints(equipment, weapon) { } } if (item.get("reqs")[i] == 0) continue; - skillpoint_min[i] = Math.max(skillpoint_min[i], item.get("reqs")[i]);// + item.get("skillpoints")[i]); + skillpoint_min[i] = Math.max(skillpoint_min[i], item.get("reqs")[i] + item.get("skillpoints")[i]); const req = item.get("reqs")[i]; const cur = skillpoints[i]; if (req > cur) {