Skip to content

CastState beta ​

Interface of @v12-engine/engine

ts
export interface CastState

What cast keeps in its order: the seconds of its wind-up left (from when it is in range), whether it walked to its point already, whether it is past turning back (isCommitted), what it channels, and whether the ability carries the caster off (a dash)

Members ​

channel ​

ts
channel?: CastChannel;

What it channels, once it fired

locked ​

ts
locked?: boolean;

Past turning back (isCommitted)

rushing ​

ts
rushing?: boolean;

The ability carries the caster off (a dash): the order is over when it lands

walked ​

ts
walked?: boolean;

It walked to its point already

windup ​

ts
windup?: number;

Seconds of its wind-up left, from when it is in range