forked from MagicBane/Server
Item flags refactored
This commit is contained in:
@@ -145,7 +145,7 @@ public class BuyFromNPCMsgHandler extends AbstractClientMsgHandler {
|
||||
//TODO CHnage this if we ever put NPc city npcs in buildings.
|
||||
int cost = buy.template.item_value;
|
||||
|
||||
if (buy.isID() || buy.isCustomValue())
|
||||
if (buy.flags.contains(Enum.ItemFlags.Identified) || buy.isCustomValue())
|
||||
cost = buy.getMagicValue();
|
||||
|
||||
float bargain = sourcePlayer.getBargain();
|
||||
|
||||
Reference in New Issue
Block a user