Repaironsummon change

Removed repair on summon and added it as an option in .conf to turn off and on.
This commit is contained in:
Chromie-WoW
2024-07-11 04:52:48 -07:00
parent 36c84d55f2
commit be83a1b35f
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ AiPlayerbot.GroupInvitationPermission = 1
AiPlayerbot.BotReviveWhenSummon = 1
# Enable/Disable bot repair gear when summon (0 = no, 1 = yes)
# default: 1 (enable for non-combat)
# default: 1
AiPlayerbot.BotRepairWhenSummon = 1
# Non-GM player can only use init=auto to initialize bots based on their own level and gear score

View File

@@ -273,7 +273,7 @@ bool PlayerbotAIConfig::Initialize()
equipmentPersistenceLevel = sConfigMgr->GetOption<int32>("AiPlayerbot.EquipmentPersistenceLevel", 80);
groupInvitationPermission = sConfigMgr->GetOption<int32>("AiPlayerbot.GroupInvitationPermission", 1);
botReviveWhenSummon = sConfigMgr->GetOption<int>("AiPlayerbot.BotReviveWhenSummon", 1);
botRepairWhenSummon = sConfigMgr->GetOption<bool>("AiPlayerbot.BotRepairWhenSummon", false);
botRepairWhenSummon = sConfigMgr->GetOption<bool>("AiPlayerbot.BotRepairWhenSummon", true);
autoInitOnly = sConfigMgr->GetOption<bool>("AiPlayerbot.AutoInitOnly", false);
autoInitEquipLevelLimitRatio = sConfigMgr->GetOption<float>("AiPlayerbot.AutoInitEquipLevelLimitRatio", 1.0);
addClassCommand = sConfigMgr->GetOption<int32>("AiPlayerbot.AddClassCommand", 1);