Skip to content

PoolThreshold beta ​

Interface of @v12-engine/engine

ts
export interface PoolThreshold

A buff a unit gets as one of its pools reaches at (PoolDef.thresholds): kept on while it holds that much or more (kept: Rumble's danger zone), or put on once as it gets there; one that empties holds the pool still while it lasts, and empties it as it ends (Rumble's overheat)

Members ​

at ​

ts
at: number;

How much the pool holds for it

buff ​

ts
buff: string;

The buff, in the carrier's own name

empties ​

ts
empties?: boolean;

The pool stays as it is while the buff lasts, and is empty as it ends (not with kept)

kept ​

ts
kept?: boolean;

On while the pool holds at or more, off below: put on once as it gets there when left out