# eCastStates

# Description

Enumeration values for skill casting states, representing various result states of skill casting.

# How to use

Spell Q(eSpellSlot::Q, 1000.0f);
eCastStates result = Q.Cast(target);
if (result == eCastStates::SuccessfullyCasted)
{
    // Skill cast successfully
}
else if (result == eCastStates::OutOfRange)
{
    // Target out of range
}

# Properties

key value remarks
SuccessfullyCasted 0 Skill cast successfully
NotReady 1 Skill not ready
NotCasted 2 Skill not cast
OutOfRange 3 Out of skill range
Collision 4 Collision obstacle exists
NotEnoughTargets 5 Not enough targets
LowHitChance 6 Hit chance too low