Browse Source

Resource Merchant

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
8aab20caf4
  1. 1
      src/engine/server/world/WorldServer.java

1
src/engine/server/world/WorldServer.java

@ -679,6 +679,7 @@ public class WorldServer {
if(resourceMerchant != null){ if(resourceMerchant != null){
for(int resourceID : Warehouse.getMaxResources().keySet()){ for(int resourceID : Warehouse.getMaxResources().keySet()){
MobLoot resource = new MobLoot(resourceMerchant,ItemBase.getItemBase(resourceID),1,false); MobLoot resource = new MobLoot(resourceMerchant,ItemBase.getItemBase(resourceID),1,false);
resource.magicValue = Warehouse.getCostForResource(resourceID);
resourceMerchant.getInventory().add(resource); resourceMerchant.getInventory().add(resource);
} }
resourceMerchant.sellPercent = 0.0f; resourceMerchant.sellPercent = 0.0f;

Loading…
Cancel
Save