Skip to content

SharedAbility beta ​

Interface of @v12-engine/engine

ts
export interface SharedAbility

An ability of a unit as everyone who sees it may be told (RuleSettings.hud.shareAbilities): what it is and its level, and how much of its cooldown is left where the rules share that too

Members ​

cooldown ​

ts
cooldown?: number;

Seconds until it can be used again: with shareAbilities: 'cooldowns' alone. Whole seconds, rounded up, from a host (quantize): the plate counts down between

id ​

ts
id: string;

The ability's id

level ​

ts
level: number;

Its level: 1 and up, those not learned are not told