Recalculate Sell Item Price

This commit is contained in:
NathanHandley
2023-11-14 09:30:04 -06:00
parent 1f53fbf0af
commit 6b60a7d6ba
2 changed files with 52 additions and 29 deletions

View File

@@ -742,6 +742,7 @@ private:
inline uint32 minValue(uint32 a, uint32 b) { return a <= b ? a : b; };
uint32 getStackSizeForItem(ItemTemplate const* itemProto) const;
void calculateSellItemPrice(Player* AHBplayer, Item* item, ItemTemplate const* itemProto, uint64& outBidPrice, uint64& outBuyoutPrice);
void populateItemCandidateList();
void addNewAuctions(Player *AHBplayer, AHBConfig *config);
void addNewAuctionBuyerBotBid(Player *AHBplayer, AHBConfig *config, WorldSession *session);