diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index a7864bcb..54cbc291 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -1422,6 +1422,8 @@ public class ClientMessagePump implements NetMsgHandler { return; } int cost = me.magicValue; + if(npc.getContractID() == 1201 && me.getItemBase().getName().equals("Prospector")) + cost = 50; int resourceCost = Warehouse.getCostForResource(me.getItemBase().getUUID()); if (resourceCost != 0) cost = resourceCost; diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index 4b1f3b76..627a9c2d 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -213,7 +213,7 @@ public class Contract extends AbstractGameObject { if(this.getObjectUUID() == 900){ for(MobEquipment me : this.sellInventory){ if(me.getItemBase().getName().equals("Prospector")){ - me.magicValue = 500; + me.magicValue = 50; } else{ me.magicValue = 1000; } diff --git a/src/engine/objects/MobEquipment.java b/src/engine/objects/MobEquipment.java index f2a81405..52156693 100644 --- a/src/engine/objects/MobEquipment.java +++ b/src/engine/objects/MobEquipment.java @@ -112,8 +112,13 @@ public class MobEquipment extends AbstractGameObject { writer.putInt((int)(mobEquipment.itemBase.getBaseValue() * 0.5f)); writer.putInt((int)(mobEquipment.itemBase.getBaseValue() * 0.5f)); }else { - writer.putInt(mobEquipment.magicValue); - writer.putInt(mobEquipment.magicValue); + if(mobEquipment.itemBase.getName().equals("Prospector")){ + writer.putInt(50); + writer.putInt(50); + }else { + writer.putInt(mobEquipment.magicValue); + writer.putInt(mobEquipment.magicValue); + } } }