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:
parent
d498f6fc3d
commit
d41b477112
@ -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;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user