aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'Malmstone/Utils')
-rw-r--r--Malmstone/Utils/MalmstoneXPCalculator.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Malmstone/Utils/MalmstoneXPCalculator.cs b/Malmstone/Utils/MalmstoneXPCalculator.cs
index 3ba328f..965221b 100644
--- a/Malmstone/Utils/MalmstoneXPCalculator.cs
+++ b/Malmstone/Utils/MalmstoneXPCalculator.cs
@@ -129,9 +129,12 @@ namespace Malmstone.Utils
if (goalLevel > PvpLevels.Length)
{
currentLevel = PvpLevels.Length;
- currentProgress = 0;
}
}
+ else
+ {
+ remainingXp -= currentProgress;
+ }
if (goalLevel > PvpLevels.Length)
{
remainingXp += CalculateRemainingXpBeyondChart(currentLevel, goalLevel);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage