Fixed array size bug with the auction house bid price. Lowered the default max bid price (#18697)

Closes #18698
This commit is contained in:
Ayrton Stout
2016-12-31 15:47:41 -07:00
committed by Shauren
parent a5f12ec151
commit 4df1b28054
3 changed files with 5 additions and 5 deletions

View File

@@ -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)

View File

@@ -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.

View File

@@ -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