NPCs buy at base cost only
This commit is contained in:
1 parent
dfd6beb988
commit
6cf7b88025
1 file changed
-4
@@ -1746,10 +1746,6 @@ boolean updateCity = false;
|
||||
|
||||
|
||||
cost = sell.getBaseValue();
|
||||
|
||||
if (sell.isID())
|
||||
cost = sell.getMagicValue();
|
||||
|
||||
float bargain = player.getBargain();
|
||||
|
||||
float profit = npc.getBuyPercent(player) + bargain;
|
||||
|
||||
Reference in new issue
Block a user