From d41b4771123dff67fbfdf561110ee68b4ff71165 Mon Sep 17 00:00:00 2001 From: Phil <113477209+phil-macrocheira@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:32:52 -0600 Subject: [PATCH] [TOTK] Fix exp calc incorrect skill points ceiling Realized that the calculation is only accurate if you have maxed out your defeat count and should now properly check the skill points ceiling based on your current defeat count. --- zelda-totk/zelda-totk.exp-calculator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zelda-totk/zelda-totk.exp-calculator.js b/zelda-totk/zelda-totk.exp-calculator.js index ae21f6d..0022586 100644 --- a/zelda-totk/zelda-totk.exp-calculator.js +++ b/zelda-totk/zelda-totk.exp-calculator.js @@ -79,7 +79,7 @@ const ExperienceCalculator={ var PointSum = DefeatPoints + DefeatedNoDamagePoints + HeadshotPoints + GuardJustPoints + JustAvoidPoints; - totalExperience += Math.min(2*MaxNum*Points, PointSum); + totalExperience += Math.min(2*DefeatPoints, PointSum); } return totalExperience; },