diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index 9814b9ac..7aa7f012 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -198,21 +198,11 @@ public class Contract extends AbstractGameObject { } public ArrayList getSellInventory() { - if(this.getObjectUUID() == 900){ - for(MobEquipment me : this.sellInventory){ - if(me.getItemBase().getUUID() == 1705032){ - me.magicValue = 1000000; - }else { - me.magicValue = Warehouse.getCostForResource(me.getItemBase().getUUID()) * Warehouse.getSellStackSize(me.getItemBase().getUUID()); - } + for (MobEquipment me : this.sellInventory) { + me.magicValue = (Warehouse.getSellStackSize(me.getItemBase().getUUID()) * Warehouse.getCostForResource(me.getItemBase().getUUID())); } } - if(this.getObjectUUID() == 1202) - for(MobEquipment me : this.sellInventory){ - me.magicValue = ItemBase.getPriceCeilingForRune(me.getItemBase().getUUID()); - } - return this.sellInventory; }