Skip to content

StatLine beta ​

Interface of @v12-engine/client

ts
export interface StatLine

One stat of a unit, as the panel shows it

Members ​

change ​

ts
change?: 'up' | 'down';

Whether it is more or less than what the unit started with

hint ​

ts
hint: string;

What the number means

id ​

ts
id: string;

The stat's id, such as attackDamage

label ​

ts
label: string;

The stat's name as the panel labels it

short ​

ts
short?: string;

Its name in short, for a grid: AD, ARM

tone ​

ts
tone?: string;

What it is about, which colours its number: physical, magic, defense, resist (a tone of the theme)

value ​

ts
value: string;

The stat's value as shown, with its units: 12-14, 1.5s