|
|
@ -203,7 +203,8 @@ public class Contract extends AbstractGameObject { |
|
|
|
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);
|
|
|
|
//resource.magicValue = Warehouse.getCostForResource(resourceID);
|
|
|
|
MobEquipment resource = new MobEquipment(resourceID, 100.0f); |
|
|
|
ItemBase ib = ItemBase.getItemBase(resourceID); |
|
|
|
|
|
|
|
MobEquipment resource = new MobEquipment(ib, 0,0); |
|
|
|
resource.magicValue = Warehouse.getCostForResource(resourceID); |
|
|
|
resource.magicValue = Warehouse.getCostForResource(resourceID); |
|
|
|
returnList.add(resource); |
|
|
|
returnList.add(resource); |
|
|
|
} |
|
|
|
} |
|
|
|