server to sell elans at correct costs

This commit is contained in:
FatBoy committed 2024-06-08 19:04:39 -05:00
1 parent ad9d27c6ee
commit 972c99a146
1 file changed
+6
+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)));
}
}