Merge branch 'main' of https://git.aeternalisgames.com/dingo/SOR
multiple workers.
This commit is contained in:
@@ -544,8 +544,17 @@ public static class AbilitySystem
|
||||
}
|
||||
else if (requireClientTargets && !selector.Count.All && !selector.Count.UpTo && selector.Count.N > 0)
|
||||
{
|
||||
// Some ownership scopes are server-resolved and should not require client picks.
|
||||
// Keep this aligned with client auto-targeting behavior.
|
||||
bool serverResolvedOwnership = selector.Ownership is
|
||||
TargetOwnership.Self or
|
||||
TargetOwnership.ExactSelf or
|
||||
TargetOwnership.Target or
|
||||
TargetOwnership.Random;
|
||||
|
||||
// Mandatory explicit-target action with no client selection provided — fail fast.
|
||||
candidates = [];
|
||||
if (!serverResolvedOwnership)
|
||||
candidates = [];
|
||||
}
|
||||
|
||||
if (activationRange is not null)
|
||||
|
||||
Reference in New Issue
Block a user