From 8ab2805e394f4e933f865e91858a049dac0fd64d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 22 May 2024 06:45:32 -0500 Subject: [PATCH] xp and range fix --- src/engine/objects/PlayerCharacter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 009095a2..9ddb8231 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -2920,10 +2920,12 @@ public class PlayerCharacter extends AbstractCharacter { if(this.level > 75 && !fromPVP){ return; + } else{ + xp *= 2; } if(GroupManager.getGroup(this) == null) - xp *= 2; + xp *= 1.9f; // Stop players from getting experience past the cap int levelCap = MBServerStatics.LEVELCAP;