NPCs buy at base cost only

This commit is contained in:
2023-01-01 15:53:05 -06:00
parent dfd6beb988
commit 6cf7b88025
@@ -1746,10 +1746,6 @@ boolean updateCity = false;
cost = sell.getBaseValue(); cost = sell.getBaseValue();
if (sell.isID())
cost = sell.getMagicValue();
float bargain = player.getBargain(); float bargain = player.getBargain();
float profit = npc.getBuyPercent(player) + bargain; float profit = npc.getBuyPercent(player) + bargain;