diff options
author | Ayrton Stout <ayrtonstout@u.boisestate.edu> | 2016-12-31 15:47:41 -0700 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-12-31 23:47:41 +0100 |
commit | 4df1b28054e6712954dceb8c71b18b4b2ef2e972 (patch) | |
tree | 9167b59ab5c06e54df83847a6b4b70a2f31b03d9 /src | |
parent | a5f12ec151320e61232b3280981518529d3ff09f (diff) |
Fixed array size bug with the auction house bid price. Lowered the default max bid price (#18697)
Closes #18698
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AuctionHouseBot/AuctionHouseBot.cpp | 2 | ||||
-rw-r--r-- | src/server/game/AuctionHouseBot/AuctionHouseBot.h | 4 | ||||
-rw-r--r-- | src/server/worldserver/worldserver.conf.dist | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp index 7bd0c08da0b..9cd273f4326 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp @@ -295,7 +295,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 a6957048f73..663dd871294 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBot.h +++ b/src/server/game/AuctionHouseBot/AuctionHouseBot.h @@ -193,9 +193,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. diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist index 74d93409d45..6bb8b400230 100644 --- a/src/server/worldserver/worldserver.conf.dist +++ b/src/server/worldserver/worldserver.conf.dist @@ -3227,10 +3227,10 @@ AuctionHouseBot.BuyPrice.Seller = 1 # AuctionHouseBot.BidPrice.* # Description: These values determine the range that the Bid Price will fall into, as a percentage of the Buy Price # Default: 0.6 - (Min) -# 1.4 - (Max) +# 0.9 - (Max) AuctionHouseBot.BidPrice.Min = 0.6 -AuctionHouseBot.BidPrice.Max = 1.4 +AuctionHouseBot.BidPrice.Max = 0.9 # # AuctionHouseBot.Alliance.Price.Ratio |