From ca78a3b58165d9c1c3966066e4bbba5e08ae1f52 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 6 Jun 2024 15:10:16 -0500 Subject: [PATCH] resource merchant to price resources correctly --- src/engine/objects/Contract.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index 7aa7f012..895cfa2a 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -200,7 +200,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; //elan stones + }else{ me.magicValue = (Warehouse.getSellStackSize(me.getItemBase().getUUID()) * Warehouse.getCostForResource(me.getItemBase().getUUID())); + } } } return this.sellInventory;