Browse Source

setlevel command goes to 80 now

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
b66e1c1f93
  1. 5
      src/engine/devcmd/cmds/SetLevelCmd.java

5
src/engine/devcmd/cmds/SetLevelCmd.java

@ -14,6 +14,7 @@ import engine.devcmd.AbstractDevCmd;
import engine.gameManager.ChatManager; import engine.gameManager.ChatManager;
import engine.objects.AbstractGameObject; import engine.objects.AbstractGameObject;
import engine.objects.PlayerCharacter; import engine.objects.PlayerCharacter;
import engine.server.MBServerStatics;
public class SetLevelCmd extends AbstractDevCmd { public class SetLevelCmd extends AbstractDevCmd {
@ -46,7 +47,7 @@ public class SetLevelCmd extends AbstractDevCmd {
this.sendUsage(pc); this.sendUsage(pc);
return; return;
} }
if (level < 1 || level > 75) { if (level < 1 || level > MBServerStatics.LEVELCAP) {
this.sendHelp(pc); this.sendHelp(pc);
return; return;
} }
@ -62,7 +63,7 @@ public class SetLevelCmd extends AbstractDevCmd {
@Override @Override
protected String _getHelpString() { 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 @Override

Loading…
Cancel
Save