mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
增加是否允许登录其它玩家角色为机器人的配置
This commit is contained in:
parent
429bce3080
commit
fbff4371a0
@ -18,7 +18,8 @@ AiPlayerbot.DeleteRandomBotAccounts = 0
|
||||
AiPlayerbot.BotAutologin = 0
|
||||
|
||||
# Allow login other players' characters as bots
|
||||
AiPlayerbot.allowPlayerBots = 0
|
||||
# Default: 0 (disabled)
|
||||
AiPlayerbot.AllowPlayerBots = 0
|
||||
|
||||
# Guild Task system
|
||||
AiPlayerbot.EnableGuildTasks = 0
|
||||
|
||||
@ -98,6 +98,7 @@ bool PlayerbotAIConfig::Initialize()
|
||||
iterationsPerTick = sConfigMgr->GetOption<int32>("AiPlayerbot.IterationsPerTick", 100);
|
||||
|
||||
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");
|
||||
LoadList<std::vector<uint32>>(randomBotMapsAsString, randomBotMaps);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user