Skip to main content

candidate_rejection

Function candidate_rejection 

Source
pub(in handler) fn candidate_rejection(
    view: &CombatView<'_>,
    candidate: CastCandidate,
    now: SimTime,
) -> Result<(), CastReject>
Expand description

Evaluate one fully resolved candidate and return its first cast-rejection reason.