Browse Source

resourc emerchant pricing adjust

lakebane-new
FatBoy-DOTC 5 months ago
parent
commit
4aaa96e36c
  1. 2
      src/engine/objects/Contract.java

2
src/engine/objects/Contract.java

@ -208,7 +208,7 @@ public class Contract extends AbstractGameObject {
for(MobEquipment me : this.sellInventory){ for(MobEquipment me : this.sellInventory){
if(me.getItemBase().getType().equals(Enum.ItemType.RESOURCE)){ if(me.getItemBase().getType().equals(Enum.ItemType.RESOURCE)){
int amountResource = Warehouse.getSellStackSize(me.getItemBase().getUUID()); int amountResource = Warehouse.getSellStackSize(me.getItemBase().getUUID());
me.magicValue = amountResource * me.getItemBase().getBaseValue(); me.magicValue = amountResource * me.getItemBase().getBaseValue() * 2;
} else{ } else{
me.magicValue = 100000; me.magicValue = 100000;
} }

Loading…
Cancel
Save