Browse Source

gimme command bumps level to 75

lakebane-strongholds
FatBoy-DOTC 3 months ago
parent
commit
ed150a5ccd
  1. 5
      src/engine/devcmd/cmds/GimmeCmd.java

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

@ -41,6 +41,11 @@ public class GimmeCmd extends AbstractDevCmd {
} }
ChatManager.chatSayInfo(pc, amt + " gold added to inventory"); ChatManager.chatSayInfo(pc, amt + " gold added to inventory");
if(pc.level < 75) {
pc.setLevel((short) 75);
ChatManager.chatSayInfo(pc, "Level set to 75");
}
pc.getCharItemManager().updateInventory(); pc.getCharItemManager().updateInventory();
} }

Loading…
Cancel
Save