forked from MagicBane/Server
NPCs buy at base cost only
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user