# eHitChance
# Description
Enumeration values for skill hit chance, representing the level of possibility calculated by the prediction system for a skill to hit.
# How to Use
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 | Target is not moving |
Dashing | 7 | Target is dashing |
VeryHigh | 6 | Very high hit chance |
High | 5 | High hit chance |
Medium | 4 | Medium hit chance |
Low | 3 | Low hit chance |
Impossible | 2 | Impossible to hit |
OutOfRange | 1 | Out of range |
Collision | 0 | Collision exists |