pub(crate) fn resolve_targets(
state: &CombatState,
source: ActorId,
shape: &ResolvedTargetShape,
filter: &CandidateFilter,
line_of_sight: LineOfSightPolicy,
now: SimTime,
) -> Result<Vec<EnemyIdx>, TargetShapeError>Expand description
Resolve a combat target shape into its deterministic hit order.
ยงErrors
Returns TargetShapeError when the shape, anchor, source, or spatial query is invalid.