Revert value store
This commit is contained in:
1 parent
c0a50544d7
commit
0004215605
2 files changed
+1
-6
No files matched your search
@@ -105,7 +105,7 @@ public class VendorSellMsgHandler extends AbstractClientMsgHandler {
|
||||
|
||||
//get goldItem cost to sell
|
||||
|
||||
cost = sell.value;
|
||||
cost = (int) (sell.template.item_value * (sell.combat_health_current / sell.template.combat_health_full));
|
||||
|
||||
float bargain = player.getBargain();
|
||||
float profit = npc.getBuyPercent(player) + bargain;
|
||||
|
||||
Reference in new issue
Block a user