Spell Cast Progress
Description
Matches the target player's active cast progress against a ranged double, where 0.0 means the cast just started and 1.0 means the cast is about to complete.
If the target isn't casting anything, this condition always returns false.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| progress | amount, a | A ranged double the cast progress is matched against (e.g. 0.5to1, >0.75, 0.25to0.5). Supports placeholders. |
(the condition argument) |
Examples
Apply a stat boost only during the back half of a cast:
Skills:
- skill{s=ChannelBoost} @self ?spellCastProgress{progress=0.5to1}
Run a particle effect every tick once a cast is at least 75% done:
- particle{p=witch} @self ?spellCastProgress{a=>0.75}
Use the alias and shorthand together:
- skill{s=AlmostDone} @self ?spellCastProgress >0.9
Aliases
- castProgress