From 972c99a146bafe9e3659b672e8b7bbb045b8de30 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 6 Jun 2024 15:19:50 -0500 Subject: [PATCH] server to sell elans at correct costs --- src/engine/objects/Warehouse.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/objects/Warehouse.java b/src/engine/objects/Warehouse.java index 48c22767..d4216d5d 100644 --- a/src/engine/objects/Warehouse.java +++ b/src/engine/objects/Warehouse.java @@ -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))); } }