Browse Source

stat runes junk for 500k each

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
0eb67c83a3
  1. 5
      src/engine/net/client/ClientMessagePump.java

5
src/engine/net/client/ClientMessagePump.java

@ -562,7 +562,10 @@ public class ClientMessagePump implements NetMsgHandler { @@ -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);

Loading…
Cancel
Save