|
|
@ -200,7 +200,11 @@ public class Contract extends AbstractGameObject { |
|
|
|
public ArrayList<MobEquipment> getSellInventory() { |
|
|
|
public ArrayList<MobEquipment> getSellInventory() { |
|
|
|
if(this.getObjectUUID() == 900){ |
|
|
|
if(this.getObjectUUID() == 900){ |
|
|
|
for (MobEquipment me : this.sellInventory) { |
|
|
|
for (MobEquipment me : this.sellInventory) { |
|
|
|
|
|
|
|
if(me.getItemBase().getUUID() == 1705032) { |
|
|
|
|
|
|
|
me.magicValue = 1000000; //elan stones
|
|
|
|
|
|
|
|
}else{ |
|
|
|
me.magicValue = (Warehouse.getSellStackSize(me.getItemBase().getUUID()) * Warehouse.getCostForResource(me.getItemBase().getUUID())); |
|
|
|
me.magicValue = (Warehouse.getSellStackSize(me.getItemBase().getUUID()) * Warehouse.getCostForResource(me.getItemBase().getUUID())); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return this.sellInventory; |
|
|
|
return this.sellInventory; |
|
|
|