From ed150a5ccddc1544bbcbe4d1487aa69b37eff6d9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 31 Aug 2024 19:04:52 -0500 Subject: [PATCH] gimme command bumps level to 75 --- src/engine/devcmd/cmds/GimmeCmd.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/devcmd/cmds/GimmeCmd.java b/src/engine/devcmd/cmds/GimmeCmd.java index 08993ded..c26cbbf8 100644 --- a/src/engine/devcmd/cmds/GimmeCmd.java +++ b/src/engine/devcmd/cmds/GimmeCmd.java @@ -41,6 +41,11 @@ public class GimmeCmd extends AbstractDevCmd { } 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(); }