Skip to main content

register_weapon_enchant_procs

Function register_weapon_enchant_procs 

Source
pub(crate) fn register_weapon_enchant_procs(
    built: &mut CombatSystemDraft,
    procs: &[WeaponEnchantProc],
) -> Result<(), EngineError>
Expand description

Register every resolved enchant proc, tracker, and buff aura on the mutable draft.

ยงErrors

Returns an engine construction error when a proc or its aura cannot be registered safely.