From 4b9af119c46d0b92dd45b9acaa2afdddf312f55b Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Mon, 27 May 2024 13:18:42 +0800 Subject: [PATCH] [Configuration] Fix misspell --- conf/playerbots.conf.dist | 2 +- src/PlayerbotAIConfig.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);