mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-12-01 21:12:50 +08:00
增加是否允许登录其它玩家角色为机器人的配置
This commit is contained in:
@@ -18,7 +18,8 @@ AiPlayerbot.DeleteRandomBotAccounts = 0
|
|||||||
AiPlayerbot.BotAutologin = 0
|
AiPlayerbot.BotAutologin = 0
|
||||||
|
|
||||||
# Allow login other players' characters as bots
|
# Allow login other players' characters as bots
|
||||||
AiPlayerbot.allowPlayerBots = 0
|
# Default: 0 (disabled)
|
||||||
|
AiPlayerbot.AllowPlayerBots = 0
|
||||||
|
|
||||||
# Guild Task system
|
# Guild Task system
|
||||||
AiPlayerbot.EnableGuildTasks = 0
|
AiPlayerbot.EnableGuildTasks = 0
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ bool PlayerbotAIConfig::Initialize()
|
|||||||
iterationsPerTick = sConfigMgr->GetOption<int32>("AiPlayerbot.IterationsPerTick", 100);
|
iterationsPerTick = sConfigMgr->GetOption<int32>("AiPlayerbot.IterationsPerTick", 100);
|
||||||
|
|
||||||
allowGuildBots = sConfigMgr->GetOption<bool>("AiPlayerbot.AllowGuildBots", true);
|
allowGuildBots = sConfigMgr->GetOption<bool>("AiPlayerbot.AllowGuildBots", true);
|
||||||
|
allowPlayerBots = sConfigMgr->GetOption<bool>("AiPlayerbot.AllowPlayerBots", false);
|
||||||
|
|
||||||
randomBotMapsAsString = sConfigMgr->GetOption<std::string>("AiPlayerbot.RandomBotMaps", "0,1,530,571");
|
randomBotMapsAsString = sConfigMgr->GetOption<std::string>("AiPlayerbot.RandomBotMaps", "0,1,530,571");
|
||||||
LoadList<std::vector<uint32>>(randomBotMapsAsString, randomBotMaps);
|
LoadList<std::vector<uint32>>(randomBotMapsAsString, randomBotMaps);
|
||||||
|
|||||||
Reference in New Issue
Block a user