Skip to content

CastLook beta ​

Interface of @v12-engine/client

ts
export interface CastLook

How casting an ability looks (AbilityLook.cast), as data: the clip, how fast, an effect on the hands, a sound. The model's casts and the unit's castClip say over its clip

Members ​

at ​

ts
at?: string | readonly string[];

The points of the model the effect plays at, by name: a point (ModelDef.points) or a node of its file, one or several (['handslot.r', 'handslot.l']). Its middle when left out

clip ​

ts
clip?: string | readonly string[];

The clip it casts with, or several to take turns (order), never the same twice running

fx ​

ts
fx?: ShotFx;

An effect on the caster while it casts, at each point of at: a glow in its hands. Stopped as the cast goes off

order ​

ts
order?: ClipOrder;

How several clips take turns: in turn (turn, when left out) or at random

sound ​

ts
sound?: string;

A sound of the game's as it begins to cast, heard from the caster

speed ​

ts
speed?: number | 'fixed';

A factor on the speed the clip is fitted with (to the windup, or to castTimes), or fixed for its own pace