Function veloren_common::combat::precision_mult_from_flank

source ยท
pub fn precision_mult_from_flank(
    attack_dir: Vec3<f32>,
    target_ori: Option<&Ori>,
    precision_flank_multipliers: FlankMults,
    precision_flank_invert: bool,
) -> Option<f32>
Expand description

Used to compute the precision multiplier achieved by flanking a target