Change default SaveManaThreshold=60

This commit is contained in:
Yunfan Li
2024-03-25 19:15:22 +08:00
parent 0819f5c46c
commit 98ad5a28ed
2 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -89,7 +89,7 @@ bool PlayerbotAIConfig::Initialize()
lowMana = sConfigMgr->GetOption<int32>("AiPlayerbot.LowMana", 15);
mediumMana = sConfigMgr->GetOption<int32>("AiPlayerbot.MediumMana", 40);
autoSaveMana = sConfigMgr->GetOption<bool>("AiPlayerbot.AutoSaveMana", true);
saveManaThreshold = sConfigMgr->GetOption<int32>("AiPlayerbot.SaveManaThreshold", 100);
saveManaThreshold = sConfigMgr->GetOption<int32>("AiPlayerbot.SaveManaThreshold", 60);
randomGearLoweringChance = sConfigMgr->GetOption<float>("AiPlayerbot.RandomGearLoweringChance", 0.15f);
randomBotMaxLevelChance = sConfigMgr->GetOption<float>("AiPlayerbot.RandomBotMaxLevelChance", 0.15f);