From eedf96cc31220963f01b7a349d111955d38b9b9d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 5 Jul 2024 19:23:23 -0500 Subject: [PATCH] resource pricing fix --- src/engine/objects/Contract.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index f050d156..a934373a 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -207,10 +207,10 @@ public class Contract extends AbstractGameObject { if(this.getObjectUUID() == 900){ //resource merchant for(MobEquipment me : this.sellInventory){ if(me.getItemBase().getType().equals(Enum.ItemType.RESOURCE)){ - int amountResource = 1500000 / me.getItemBase().getBaseValue(); + int amountResource = Warehouse.getSellStackSize(me.getItemBase().getUUID()); me.magicValue = amountResource * me.getItemBase().getBaseValue(); } else{ - me.magicValue = 50000; + me.magicValue = 100000; } } }