Browse Source

server to sell elans at correct costs

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
972c99a146
  1. 6
      src/engine/objects/Warehouse.java

6
src/engine/objects/Warehouse.java

@ -1401,12 +1401,18 @@ public class Warehouse extends AbstractWorldObject {
case 1580020://bloodstone case 1580020://bloodstone
newCost = 200000; newCost = 200000;
break; break;
case 1705032:
newCost = 100000;
break;
} }
return newCost; return newCost;
} }
public static int getSellStackSize(int id){ public static int getSellStackSize(int id){
if(id == 1705032)
return 10;
return (int)(3000000 / (getCostForResource(id))); return (int)(3000000 / (getCostForResource(id)));
} }
} }

Loading…
Cancel
Save