rune pricing corrected

This commit is contained in:
2024-06-15 16:16:18 -05:00
parent 8ee17f0c64
commit 553b09d827
2 changed files with 71 additions and 4 deletions
+2 -2
View File
@@ -1410,8 +1410,8 @@ public class ClientMessagePump implements NetMsgHandler {
int amountResource = 0;
if(npc.contractUUID == 900){ //resource merchant
if(ib.getType().equals(ItemType.RESOURCE)) {
amountResource = 15000000 / (ib.getBaseValue());
cost = amountResource * (ib.getBaseValue());
amountResource = 15000000 / ib.getBaseValue();
cost = amountResource * ib.getBaseValue();
}else{
amountResource = 10;
cost = 50000; //elans