Skip to content

PoolDef beta ​

Interface of @v12-engine/engine

ts
export interface PoolDef

A resource of a unit's own beside mana (UnitTypeDef.pools), in a game with the resources pack (resourcesPack): Akali's energy (regen), Tryndamere's fury (gained by attacks, decay after idle), Rumble's heat (gained by casts, overheating at a threshold), Yasuo's flow (moving), Jhin's ammo (reload)

Members ​

color ​

ts
color?: string;

The colour of its bar, a CSS colour: the client's own when left out

decay ​

ts
decay?: number;

How much goes each second once nothing has spent or given any for idle seconds (fury, heat)

idle ​

ts
idle?: number;

Seconds without its being spent or given before it decays: at once when left out

max ​

ts
max: number;

How much it holds at most

moving ​

ts
moving?: number;

How much comes for each cell the unit walks (Yasuo's flow)

name ​

ts
name?: string;

What it is called on the screen: its id when left out

regen ​

ts
regen?: number;

How much comes back each second, always (energy)

reload ​

ts
reload?: number;

Seconds after it runs out until it is full again (a reload)

start ​

ts
start?: number;

How much it holds as the unit comes into the world: full when left out

thresholds ​

ts
thresholds?: PoolThreshold[];

Buffs its carrier gets as it fills (PoolThreshold): overheated, in the danger zone