Function attack_with_supports

Source
pub fn attack_with_supports(
    sink: &mut dyn FightSink,
    ctx: &SupportAttackCtx<'_>,
    target: &Entity,
    params: &AttackParams,
) -> Result<Option<i64>>
Expand description

Run one ability hit with the socketed supports applied: the crit bonus on the primary hit, then the instant derived copies (Split on the same target, Chain and Pierce onto further targets), then the Leech conversion over everything this cast dealt.

Returns the PRIMARY hit’s damage, so every existing caller keeps its previous semantics (None = the primary hit dealt nothing).