Skip to content

AbilityLook beta ​

Interface of @v12-engine/client

ts
export interface AbilityLook

How abilities and buffs show in the world, by their id

Members ​

aura ​

ts
aura?: string;

For buffs: name of the style that draws it on whoever carries it, for as long as they do. Of the client: glow. Without one, a small light above the unit says that there is something on it

cast ​

ts
cast?: CastLook;

How casting it looks on the caster (CastLook): the clip or clips, how fast, an effect on the hands, a sound. The model's casts and the unit's castClip say over its clip

color ​

ts
color: [number, number, number];

The colour of the ability's drawing as red, green, blue (0..1)

counter ​

ts
counter?: boolean | {
        max?: number;
    };

Of a buff that stacks: its stacks over its carrier, a pip each (Darius's bleed, Vayne's rings), up to max

drawnAs ​

ts
drawnAs?: string;

Of a buff: its carrier drawn as this unit type for as long as it carries it (a polymorph, Hex), in its own owner's colour

effects ​

ts
effects?: Record<string, Partial<AbilityLook>>;

A look for each effect of the ability, over this one (what an entry leaves out is this look's): its missile, what it strikes, its zone, its rush. Found by the effect's look name (EffectCommon.look), else by its place in the ability ('0', '1'…: every effect first to last, each before those it holds: effectIndex), else by its type (missile, zone, after, dash, pull, knockback…). Ahri's orb out and back is one, Flame Strike's fall and its burning ground two

fx ​

ts
fx?: string;

An effect of the view's (GameView.fx.defs) played with it: on a zone for its life (stopped as it ends), on a unit rushing for as long as it rushes, at a strike where it lands

ground ​

ts
ground?: boolean;

The ground it covers drawn for everyone who sees it: while it is wound up (castTime, the ability's shape aimed), a delayed blast until it goes off, a zone for its life, a cast with a shape as it goes off. Yes when left out; false draws none (what the style draws stays)

ts
link?: string | false;

Of a missile that springs on (bounce): a link from each it struck to the next, by one of the effects drawn between two (linkFx: chain, ray, tether) or the view's own. chain when left out; false draws none

marker ​

ts
marker?: boolean;

Of a buff that takes control (BuffDef.control): the mark over its carrier while it holds (fear, charm, taunt), in this look's colour. Drawn for every one when left out; false draws none

options ​

ts
options?: Record<string, unknown>;

Whatever else a style of the game wants to be told

style ​

ts
style?: string;

Name of the style that draws it, one of the client or one the game brought along. ring when left out. Of the client: ring, a ring on the ground. tornado, a whirlwind that forms where it is cast and travels with what is sent on its way. smash, the ground breaks open. tether, a rope from the caster to the target. missile, an arrow, a rock or a bird of light on its way. burst, sparks where it is cast. slam, the ground thrown up around the caster. mark, a place on the ground where something is about to happen or goes on

trail ​

ts
trail?: boolean;

Of a rush (a dash, a pull, a throw): a trail behind who is moved, in its colour. Yes when left out; false draws none

until ​

ts
until?: string;

For tethers: the buff on the target that the rope lasts as long as