From 915f182d79682ecf6256a214a82352de3a3afbc9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 21 May 2024 17:12:35 -0500 Subject: [PATCH] level cap increased to 80 --- src/engine/objects/PlayerCharacter.java | 2 +- src/engine/server/MBServerStatics.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 31ff999c..ac0eb21f 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4633,7 +4633,7 @@ public class PlayerCharacter extends AbstractCharacter { tmpLevel = targetLevel; - tmpLevel = (short) Math.min(tmpLevel, 75); + tmpLevel = (short) Math.min(tmpLevel, MBServerStatics.LEVELCAP); while (this.level < tmpLevel) { grantXP(Experience.getBaseExperience(tmpLevel) - this.exp); diff --git a/src/engine/server/MBServerStatics.java b/src/engine/server/MBServerStatics.java index 80338e63..6e387800 100644 --- a/src/engine/server/MBServerStatics.java +++ b/src/engine/server/MBServerStatics.java @@ -357,7 +357,7 @@ public class MBServerStatics { public static final int COMBAT_SEND_DODGE = 20; public static final int COMBAT_SEND_BLOCK = 21; public static final int COMBAT_SEND_PARRY = 22; - public static final short LEVELCAP = 75; + public static final short LEVELCAP = 80; public static final int LEVEL_CON_WHITE = 7; public static final int RESPAWN_TIMER = 90 * 1000; public static final int DESPAWN_TIMER = 12 * 1000;