From e3c8be61025f0be52669304ec05959c202ef0fe9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 30 Apr 2024 20:25:33 -0500 Subject: [PATCH] zone loading --- src/engine/objects/PlayerCharacter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index ad8c31f3..382bfbb7 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -2889,6 +2889,8 @@ public class PlayerCharacter extends AbstractCharacter { } public synchronized void grantXP(int xp) { + + xp *= Float.parseFloat(ConfigManager.MB_NORMAL_EXP_RATE.getValue()); // Stop players from getting experience past the cap if (this.exp + xp >= Experience.getBaseExperience(MBServerStatics.LEVELCAP)) xp = Experience.getBaseExperience(MBServerStatics.LEVELCAP) - this.exp + 1;