diff --git a/conf/playerbots.conf.dist b/conf/playerbots.conf.dist index ad187a62..8abae51e 100644 --- a/conf/playerbots.conf.dist +++ b/conf/playerbots.conf.dist @@ -312,8 +312,8 @@ AiPlayerbot.MediumMana = 40 AiPlayerbot.AutoSaveMana = 1 # Healer bot save mana threshold -# Default: 100 (full) -AiPlayerbot.SaveManaThreshold = 100 +# Default: 60 (60%) +AiPlayerbot.SaveManaThreshold = 60 AiPlayerbot.RandomBotCombatStrategies = "+dps,+dps assist,-threat" diff --git a/src/PlayerbotAIConfig.cpp b/src/PlayerbotAIConfig.cpp index 2cf10bf5..0d86bc4f 100644 --- a/src/PlayerbotAIConfig.cpp +++ b/src/PlayerbotAIConfig.cpp @@ -89,7 +89,7 @@ bool PlayerbotAIConfig::Initialize() lowMana = sConfigMgr->GetOption("AiPlayerbot.LowMana", 15); mediumMana = sConfigMgr->GetOption("AiPlayerbot.MediumMana", 40); autoSaveMana = sConfigMgr->GetOption("AiPlayerbot.AutoSaveMana", true); - saveManaThreshold = sConfigMgr->GetOption("AiPlayerbot.SaveManaThreshold", 100); + saveManaThreshold = sConfigMgr->GetOption("AiPlayerbot.SaveManaThreshold", 60); randomGearLoweringChance = sConfigMgr->GetOption("AiPlayerbot.RandomGearLoweringChance", 0.15f); randomBotMaxLevelChance = sConfigMgr->GetOption("AiPlayerbot.RandomBotMaxLevelChance", 0.15f);