pub(crate) fn resolve_spell_targets(
state: &CombatState,
buf: &DenseBuffer,
request: SpellTargetRequest,
now: SimTime,
rng: Option<&mut dyn FnMut() -> f64>,
) -> Result<Vec<EnemyIdx>, TargetShapeError>Expand description
Resolve a spell effect’s hostile targets from its compiled DBC target program.
An unauthored cast destination defaults to the explicit target’s position.