Core/AH: AuctionHouseBot BidPrice determined by config options

This commit is contained in:
Ayrton Stout authored and Aokromes committed 2017-01-01 13:37:53 +01:00
1 parent d2572429b7
commit eed28a5be9
4 files changed
+20 -4

No files matched your search

@@ -293,6 +293,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)