mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-07 04:37:48 +00:00
Repaironsummon change
Removed repair on summon and added it as an option in .conf to turn off and on.
This commit is contained in:
@@ -132,7 +132,7 @@ AiPlayerbot.GroupInvitationPermission = 1
|
|||||||
AiPlayerbot.BotReviveWhenSummon = 1
|
AiPlayerbot.BotReviveWhenSummon = 1
|
||||||
|
|
||||||
# Enable/Disable bot repair gear when summon (0 = no, 1 = yes)
|
# Enable/Disable bot repair gear when summon (0 = no, 1 = yes)
|
||||||
# default: 1 (enable for non-combat)
|
# default: 1
|
||||||
AiPlayerbot.BotRepairWhenSummon = 1
|
AiPlayerbot.BotRepairWhenSummon = 1
|
||||||
|
|
||||||
# Non-GM player can only use init=auto to initialize bots based on their own level and gear score
|
# Non-GM player can only use init=auto to initialize bots based on their own level and gear score
|
||||||
|
|||||||
@@ -273,7 +273,7 @@ bool PlayerbotAIConfig::Initialize()
|
|||||||
equipmentPersistenceLevel = sConfigMgr->GetOption<int32>("AiPlayerbot.EquipmentPersistenceLevel", 80);
|
equipmentPersistenceLevel = sConfigMgr->GetOption<int32>("AiPlayerbot.EquipmentPersistenceLevel", 80);
|
||||||
groupInvitationPermission = sConfigMgr->GetOption<int32>("AiPlayerbot.GroupInvitationPermission", 1);
|
groupInvitationPermission = sConfigMgr->GetOption<int32>("AiPlayerbot.GroupInvitationPermission", 1);
|
||||||
botReviveWhenSummon = sConfigMgr->GetOption<int>("AiPlayerbot.BotReviveWhenSummon", 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);
|
autoInitOnly = sConfigMgr->GetOption<bool>("AiPlayerbot.AutoInitOnly", false);
|
||||||
autoInitEquipLevelLimitRatio = sConfigMgr->GetOption<float>("AiPlayerbot.AutoInitEquipLevelLimitRatio", 1.0);
|
autoInitEquipLevelLimitRatio = sConfigMgr->GetOption<float>("AiPlayerbot.AutoInitEquipLevelLimitRatio", 1.0);
|
||||||
addClassCommand = sConfigMgr->GetOption<int32>("AiPlayerbot.AddClassCommand", 1);
|
addClassCommand = sConfigMgr->GetOption<int32>("AiPlayerbot.AddClassCommand", 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user