Skip to content

ActionOptions beta ​

Interface of @v12-engine/client

ts
export interface ActionOptions

How an action timed to a moment (the blow of an attack, a spell going off) is played

Members ​

mask ​

ts
mask?: ClipMask | null;

The part of the body it plays on (ClipMask), over what the unit keeps doing on the rest: the clip's own (ClipDef.mask) when left out, null for the whole body whatever the clip says

recovery ​

ts
recovery?: number;

Seconds after the blow the clip's rest is fitted to: the attack's recovery (AttackDef.recovery). What is left of seconds after the blow when left out or 0

speed ​

ts
speed?: number | 'fixed';

How fast it plays (AttackLook.speed, CastLook.speed): a factor on the speed it is fitted with (within 0.25x-4x of the clip's own), or fixed for the clip's own pace, not fitted to the moment. Fitted as it is when left out

walks ​

ts
walks?: boolean;

Played while the unit walks (an attack fired on the move): walking does not cut it short