AbilityRow
One ability a caster holds, and the numbers that decide its next cast.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
castSecondsLeft |
number | null |
Seconds of wind-up left while state is CastingTrait; null otherwise. |
cooldownLeft |
number |
Seconds until it may cast: the longer of its own cooldown and the global one, which hold a cast back alike. |
cost |
ResourceCost |
- |
inRange |
boolean | null |
Whether the target stands within range; null where the caster holds no target or the ability needs none. |
kind |
AbilityKind |
- |
label |
string |
- |
name |
string |
- |
range |
number |
Metres: the range of a projectile or a chain, and the radius of an area. |
state |
AbilityCastState |
- |