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.
pub(in handler) fn cast_rejection(
view: &CombatView<'_>,
spell_id: u32,
now: SimTime,
) -> Result<(), CastReject>Full cast-eligibility check returning the reason a spell cannot be cast, or Ok(()) when castable.