0
0
mirror of https://github.com/marcrobledo/savegame-editors.git synced 2025-04-24 16:35:10 +00:00

[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.
This commit is contained in:
Phil 2023-11-30 13:32:52 -06:00 committed by GitHub
parent d498f6fc3d
commit d41b477112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
},