From 0eb67c83a396470e6c54ad0c41585bf06aa4a8f1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 18 Feb 2024 15:33:08 -0600 Subject: [PATCH] stat runes junk for 500k each --- src/engine/net/client/ClientMessagePump.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index 011f0c20..ffd3af7e 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -562,7 +562,10 @@ public class ClientMessagePump implements NetMsgHandler { if (i.isCanDestroy()) { if (itemManager.delete(i) == true) { - sourcePlayer.getCharItemManager().addGoldToInventory(i.getItemBase().getBaseValue(),false); + int value = i.getItemBase().getBaseValue(); + if(i.getItemBase().isStatRune()) + value = 500000; + sourcePlayer.getCharItemManager().addGoldToInventory(value,false); sourcePlayer.getCharItemManager().updateInventory(); Dispatch dispatch = Dispatch.borrow(sourcePlayer, msg); DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);