Skip to main content

compile_cast_profile

Function compile_cast_profile 

Source
fn compile_cast_profile(
    local: LocalSpellIdx,
    spell: &SpellData,
    auras: &[AuraData],
    aura_by_id: &IntMap<u32, LocalAuraIdx>,
    bindings: &BufferBindings,
    passive_driver_effects: &[PassiveDriverEffect],
    primary_resource_type: Option<ResourceType>,
    secondary_resource_type: Option<ResourceType>,
    enemy_count: usize,
    data: &ResolvedGameData,
    target_aura_handles: &mut Vec<AuraSlotHandle>,
    stance_exception_handles: &mut Vec<AuraSlotHandle>,
) -> Result<CastProfile, RotationPlanError>