diff --git a/conf/playerbots.conf.dist b/conf/playerbots.conf.dist index 1a25d948..a597bdde 100644 --- a/conf/playerbots.conf.dist +++ b/conf/playerbots.conf.dist @@ -175,7 +175,7 @@ AiPlayerbot.AutoGearCommand = 1 # default: 3 (rare) AiPlayerbot.AutoGearQualityLimit = 3 -# Equips quality limitation for auto gear command (0 = no limit) +# Equips gear score limitation for auto gear command (0 = no limit) # default: 0 (no limit) AiPlayerbot.AutoGearScoreLimit = 0 diff --git a/src/PlayerbotAIConfig.cpp b/src/PlayerbotAIConfig.cpp index 5b58949c..d3ab8a0b 100644 --- a/src/PlayerbotAIConfig.cpp +++ b/src/PlayerbotAIConfig.cpp @@ -277,7 +277,7 @@ bool PlayerbotAIConfig::Initialize() addClassCommand = sConfigMgr->GetOption("AiPlayerbot.AddClassCommand", 1); maintenanceCommand = sConfigMgr->GetOption("AiPlayerbot.MaintenanceCommand", 1); autoGearCommand = sConfigMgr->GetOption("AiPlayerbot.AutoGearCommand", 1); - autoGearQualityLimit = sConfigMgr->GetOption("AiPlayerbot.autoGearQualityLimit", 3); + autoGearQualityLimit = sConfigMgr->GetOption("AiPlayerbot.AutoGearQualityLimit", 3); autoGearScoreLimit = sConfigMgr->GetOption("AiPlayerbot.AutoGearScoreLimit", 0); playerbotsXPrate = sConfigMgr->GetOption("AiPlayerbot.KillXPRate", 1);