server to sell elans at correct costs

This commit is contained in:
2024-06-06 15:19:50 -05:00
parent ad9d27c6ee
commit 972c99a146
+6
View File
@@ -1401,12 +1401,18 @@ public class Warehouse extends AbstractWorldObject {
case 1580020://bloodstone
newCost = 200000;
break;
case 1705032:
newCost = 100000;
break;
}
return newCost;
}
public static int getSellStackSize(int id){
if(id == 1705032)
return 10;
return (int)(3000000 / (getCostForResource(id)));
}
}