Skip to main content

handler_with_spells

Function handler_with_spells 

Source
pub fn handler_with_spells(
    rotation: &Rotation,
    spells: &[(&str, u32)],
) -> Result<CombatHandler, CombatBuildError>
Expand description

Build a handler with default spell definitions for a compact spell table.

ยงErrors

Returns CombatBuildError when the supplied rotation or spell table cannot be built.