mirror of
https://github.com/milimoe/FunGame-Testing.git
synced 2026-01-19 14:08:24 +00:00
API 中断性变更
This commit is contained in:
parent
86ce69d7be
commit
2ccc1d718c
@ -649,7 +649,7 @@ namespace Milimoe.FunGame.Testing.Desktop.GameMapTesting
|
||||
|
||||
private static bool IsRoundHasPlayer_OnlyTest(GamingQueue queue, Character current)
|
||||
{
|
||||
return queue.CustomData.TryGetValue("player", out object? value) && value is Character player && (player == current || (current.CharacterState != CharacterState.Casting && queue.LastRound.Targets.Any(c => c == player)));
|
||||
return queue.CustomData.TryGetValue("player", out object? value) && value is Character player && (player == current || (current.CharacterState != CharacterState.Casting && queue.LastRound.Targets.Values.SelectMany(c => c).Any(c => c == player)));
|
||||
}
|
||||
|
||||
public async Task SetPreCastSuperSkill(Character character, Skill skill)
|
||||
|
||||
@ -705,7 +705,7 @@ namespace Milimoe.FunGame.Testing.Tests
|
||||
|
||||
private static bool IsRoundHasPlayer_OnlyTest(GamingQueue queue, Character current)
|
||||
{
|
||||
return queue.CustomData.TryGetValue("player", out object? value) && value is Character player && (player == current || (current.CharacterState != CharacterState.Casting && queue.LastRound.Targets.Any(c => c == player)));
|
||||
return queue.CustomData.TryGetValue("player", out object? value) && value is Character player && (player == current || (current.CharacterState != CharacterState.Casting && queue.LastRound.Targets.Values.SelectMany(c => c).Any(c => c == player)));
|
||||
}
|
||||
|
||||
public static void WriteLine(string str)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user