Skip to main content

cast_rejection

Function cast_rejection 

Source
pub(in handler) fn cast_rejection(
    view: &CombatView<'_>,
    spell_id: u32,
    now: SimTime,
) -> Result<(), CastReject>
Expand description

Full cast-eligibility check returning the reason a spell cannot be cast, or Ok(()) when castable.