From b66e1c1f938e9fb3cbb74f5229969fe867ef3431 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 21 May 2024 20:20:35 -0500 Subject: [PATCH] setlevel command goes to 80 now --- src/engine/devcmd/cmds/SetLevelCmd.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/devcmd/cmds/SetLevelCmd.java b/src/engine/devcmd/cmds/SetLevelCmd.java index 47be4ff6..df3e2ee2 100644 --- a/src/engine/devcmd/cmds/SetLevelCmd.java +++ b/src/engine/devcmd/cmds/SetLevelCmd.java @@ -14,6 +14,7 @@ import engine.devcmd.AbstractDevCmd; import engine.gameManager.ChatManager; import engine.objects.AbstractGameObject; import engine.objects.PlayerCharacter; +import engine.server.MBServerStatics; public class SetLevelCmd extends AbstractDevCmd { @@ -46,7 +47,7 @@ public class SetLevelCmd extends AbstractDevCmd { this.sendUsage(pc); return; } - if (level < 1 || level > 75) { + if (level < 1 || level > MBServerStatics.LEVELCAP) { this.sendHelp(pc); return; } @@ -62,7 +63,7 @@ public class SetLevelCmd extends AbstractDevCmd { @Override protected String _getHelpString() { - return "Sets your character's level to 'amount'. 'amount' must be between 1-75"; + return "Sets your character's level to 'amount'. 'amount' must be between 1-" + MBServerStatics.LEVELCAP; } @Override