fix(Core/Creature): Implement CREATURE_FLAG_EXTRA_NO_SELL_VENDOR (#4233)

This commit is contained in:
Kitzunu
2021-01-26 14:12:21 +01:00
committed by GitHub
parent 4a433afaba
commit 17d2560ffa
4 changed files with 20 additions and 8 deletions

View File

@@ -132,12 +132,15 @@ enum BuyResult
enum SellResult
{
SELL_ERR_CANT_FIND_ITEM = 1,
SELL_ERR_CANT_SELL_ITEM = 2, // merchant doesn't like that item
SELL_ERR_CANT_FIND_VENDOR = 3, // merchant doesn't like you
SELL_ERR_YOU_DONT_OWN_THAT_ITEM = 4, // you don't own that item
SELL_ERR_UNK = 5, // nothing appears...
SELL_ERR_ONLY_EMPTY_BAG = 6 // can only do with empty bags
SELL_ERR_CANT_FIND_ITEM = 1, // The item was not found.
SELL_ERR_CANT_SELL_ITEM = 2, // The merchant doesn't want that item.
SELL_ERR_CANT_FIND_VENDOR = 3, // The merchant doesn't like you.
SELL_ERR_YOU_DONT_OWN_THAT_ITEM = 4, // You don't own that item.
SELL_ERR_UNK = 5, // Nothing appears...
SELL_ERR_ONLY_EMPTY_BAG = 6, // You can only do that with empty bags.
SELL_ERR_CANT_SELL_TO_THIS_MERCHANT = 7, // You cannot sell items to this merchant.
SELL_ERR_MUST_REPAIR_ITEM_DURABILITY_TO_USE = 8, // You must repair that item's durability to use it.
SELL_INTERNAL_BAG_ERROR = 9 // Internal Bag Error
};
// -1 from client enchantment slot number