Modify Cast Time

Description

Modifies the remaining time on the target player's active cast.

If the target isn't casting anything, the mechanic returns CONDITION_FAILED. Otherwise the remaining cast time is adjusted using one of three modes:

Mode (mode=) Behavior
ADD (default) Adds amount to the remaining time. Negative values reduce.
SET Replaces the remaining time with amount.
MULTIPLY Scales the remaining time by amount. <1.0 reduces, >1.0 extends.

The remaining time is clamped so it never goes below zero.

By default, amount is interpreted as seconds. Set ticks=true to use ticks instead. (When mode=MULTIPLY, ticks is ignored — the value is always treated as a unitless factor.)

Attributes

Attribute Aliases Description Default
amount a Duration / factor used by the chosen mode. Supports placeholders and math expressions. 0
mode operation, op, m ADD, SET, or MULTIPLY ADD
ticks t If true, amount is interpreted as ticks instead of seconds (only meaningful for ADD and SET). false

Examples

Push the target's cast back by 0.5 seconds:

Skills:
- modifyCastTime{amount=0.5} @target

Cut the remaining time of the player's cast in half on a successful crit:

Skills:
- modifyCastTime{amount=0.5;mode=MULTIPLY} @self ?onCrit

Force the cast to finish next tick (effectively, instant-complete the cast):

Skills:
- modifyCastTime{amount=1;mode=SET;ticks=true} @self

Aliases

  • castTime
Updated Aug 19, 2026