Skip to content

VeterancyRank beta ​

Interface of @v12-engine/engine

ts
export interface VeterancyRank

A rank of veterancy: the experience it starts at, its name, and what it adds to a unit's stats (in place of the rank before's: each says all a unit of that rank has)

Members ​

name ​

ts
name: string;

The rank's name

stats ​

ts
stats?: StatChange;

What the rank adds to the unit's stats, in place of the rank before's

xp ​

ts
xp: number;

The experience a unit starts the rank at