|
|
|
@ -198,21 +198,11 @@ public class Contract extends AbstractGameObject {
@@ -198,21 +198,11 @@ public class Contract extends AbstractGameObject {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ArrayList<MobEquipment> 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; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|