From bec131eac3af0efb83c8140730ad97890d68033a Mon Sep 17 00:00:00 2001 From: Ayrton Stout Date: Sat, 31 Dec 2016 11:47:58 -0700 Subject: Core/AH: AuctionHouseBot BidPrice determined by config options (cherry picked from commit bed369e7c8d0ef848f710bac9b8ceacc3cbe38a2) --- src/server/game/AuctionHouseBot/AuctionHouseBot.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/server/game/AuctionHouseBot/AuctionHouseBot.cpp') diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp index 11ed0ab7e80..f548ec80b85 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp @@ -285,6 +285,9 @@ void AuctionBotConfig::GetConfigFromFile() SetConfig(CONFIG_AHBOT_CLASS_RANDOMSTACKRATIO_KEY, "AuctionHouseBot.Class.RandomStackRatio.Key", 100); SetConfig(CONFIG_AHBOT_CLASS_RANDOMSTACKRATIO_MISC, "AuctionHouseBot.Class.RandomStackRatio.Misc", 100); SetConfig(CONFIG_AHBOT_CLASS_RANDOMSTACKRATIO_GLYPH, "AuctionHouseBot.Class.RandomStackRatio.Glyph", 0); + + SetConfig(CONFIG_AHBOT_BIDPRICE_MIN, "AuctionHouseBot.BidPrice.Min", 0.6f); + SetConfig(CONFIG_AHBOT_BIDPRICE_MAX, "AuctionHouseBot.BidPrice.Max", 1.4f); } char const* AuctionBotConfig::GetHouseTypeName(AuctionHouseType houseType) -- cgit v1.2.3