diff options
| author | Ayrton Stout <ayrtonstout@u.boisestate.edu> | 2016-12-31 15:47:41 -0700 |
|---|---|---|
| committer | DoctorKraft <DoctorKraft@users.noreply.github.com> | 2018-03-18 00:19:48 +0100 |
| commit | 8cff0d4a9062a2eedd0391e21e2cadb363d47904 (patch) | |
| tree | f298efe47e42ea23f52cfd9fc6cfcdcf9a92d5de /src/server/game | |
| parent | 608260b853167849626004a10fd9c49714824813 (diff) | |
Fixed array size bug with the auction house bid price. Lowered the default max bid price (#18697)
Closes #18698
(cherry picked from commit 4df1b28054e6712954dceb8c71b18b4b2ef2e972)
Diffstat (limited to 'src/server/game')
| -rw-r--r-- | src/server/game/AuctionHouseBot/AuctionHouseBot.cpp | 2 | ||||
| -rw-r--r-- | src/server/game/AuctionHouseBot/AuctionHouseBot.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp index f548ec80b85..a066fe8e361 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp @@ -287,7 +287,7 @@ void AuctionBotConfig::GetConfigFromFile() 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); + SetConfig(CONFIG_AHBOT_BIDPRICE_MAX, "AuctionHouseBot.BidPrice.Max", 0.9f); } char const* AuctionBotConfig::GetHouseTypeName(AuctionHouseType houseType) diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBot.h b/src/server/game/AuctionHouseBot/AuctionHouseBot.h index 768f8f97876..26c233174a4 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBot.h +++ b/src/server/game/AuctionHouseBot/AuctionHouseBot.h @@ -196,9 +196,9 @@ enum AuctionBotConfigBoolValues enum AuctionBotConfigFloatValues { CONFIG_AHBOT_BUYER_CHANCE_FACTOR, - CONFIG_AHBOT_FLOAT_COUNT, CONFIG_AHBOT_BIDPRICE_MIN, - CONFIG_AHBOT_BIDPRICE_MAX + CONFIG_AHBOT_BIDPRICE_MAX, + CONFIG_AHBOT_FLOAT_COUNT }; // All basic config data used by other AHBot classes for self-configure. |
