From 8aab20caf474e5375aadfb9991b9cdfc5eaf63f9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 22 Feb 2024 19:18:24 -0600 Subject: [PATCH] Resource Merchant --- src/engine/server/world/WorldServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 95df2b0b..caace09e 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -679,6 +679,7 @@ public class WorldServer { if(resourceMerchant != null){ for(int resourceID : Warehouse.getMaxResources().keySet()){ MobLoot resource = new MobLoot(resourceMerchant,ItemBase.getItemBase(resourceID),1,false); + resource.magicValue = Warehouse.getCostForResource(resourceID); resourceMerchant.getInventory().add(resource); } resourceMerchant.sellPercent = 0.0f;