stat runes junk for 500k each
This commit is contained in:
1 parent
6668c01185
commit
0eb67c83a3
1 file changed
+4
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user