PoolDef beta
Interface of @v12-engine/engine
export interface PoolDefA 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
color?: string;The colour of its bar, a CSS colour: the client's own when left out
decay
decay?: number;How much goes each second once nothing has spent or given any for idle seconds (fury, heat)
idle
idle?: number;Seconds without its being spent or given before it decays: at once when left out
max
max: number;How much it holds at most
moving
moving?: number;How much comes for each cell the unit walks (Yasuo's flow)
name
name?: string;What it is called on the screen: its id when left out
regen
regen?: number;How much comes back each second, always (energy)
reload
reload?: number;Seconds after it runs out until it is full again (a reload)
start
start?: number;How much it holds as the unit comes into the world: full when left out
thresholds
thresholds?: PoolThreshold[];Buffs its carrier gets as it fills (PoolThreshold): overheated, in the danger zone