ActionOptions beta
Interface of @v12-engine/client
export interface ActionOptionsHow an action timed to a moment (the blow of an attack, a spell going off) is played
Members
mask
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
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
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
walks?: boolean;Played while the unit walks (an attack fired on the move): walking does not cut it short