# eHitChance

# 说明

技能命中率的枚举值,表示预测系统计算出的技能命中可能性级别。

# 如何使用

Spell Q(eSpellSlot::Q, 1000.0f);
Q.MinHitChance = eHitChance::High;
PredictionOutput prediction = Q.GetPrediction(target);
if (prediction.Hitchance >= eHitChance::High)
{
    Q.Cast(prediction.CastPosition());
}

# Properties

key value remarks
Immobile 8 目标静止不动
Dashing 7 目标正在位移
VeryHigh 6 非常高的命中率
High 5 高命中率
Medium 4 中等命中率
Low 3 低命中率
Impossible 2 不可能命中
OutOfRange 1 超出范围
Collision 0 存在碰撞