mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Fixed array size bug with the auction house bid price. Lowered the default max bid price (#18697)
Closes #18698
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user