diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index d4202f25..689bcfb5 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -1420,10 +1420,14 @@ public class ClientMessagePump implements NetMsgHandler { float profit = npc.getSellPercent(sourcePlayer) - bargain; + if(me.getItemBase().getType().equals(ItemType.POTION)) + profit -= 1.0f; + if (profit < 1) profit = 1; + cost *= profit;