默认使用自动化行为

This commit is contained in:
milimoe 2025-04-10 01:41:40 +08:00
parent bfbb022044
commit 8461cba50e
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E
2 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,7 @@ namespace Oshima.FunGame.OshimaServers
{ {
SendAllGamingMessage(obj, data, str); SendAllGamingMessage(obj, data, str);
}); });
actionQueue.SetCharactersToAIControl(false, inGameCharacters);
// 总游戏时长 // 总游戏时长
double totalTime = 0; double totalTime = 0;

View File

@ -32,6 +32,7 @@ namespace Oshima.FunGame.OshimaServers.Service
// 创建顺序表并排序 // 创建顺序表并排序
ActionQueue actionQueue = new(characters, false, WriteLine); ActionQueue actionQueue = new(characters, false, WriteLine);
actionQueue.SetCharactersToAIControl(false, characters);
if (PrintOut) Console.WriteLine(); if (PrintOut) Console.WriteLine();
// 总游戏时长 // 总游戏时长
@ -283,6 +284,7 @@ namespace Oshima.FunGame.OshimaServers.Service
MaxRespawnTimes = maxRespawnTimes, MaxRespawnTimes = maxRespawnTimes,
MaxScoreToWin = maxScoreToWin MaxScoreToWin = maxScoreToWin
}; };
actionQueue.SetCharactersToAIControl(false, characters);
if (PrintOut) Console.WriteLine(); if (PrintOut) Console.WriteLine();
// 总游戏时长 // 总游戏时长