Skip to content

GainedStats beta ​

Interface of @v12-engine/engine

ts
export interface GainedStats

What a unit gained for good (gainStats): the stats added and the parts, everything it gained added up, and how many times it gained

Members ​

percent ​

ts
percent: Record<string, number>;

The parts each stat was made bigger or smaller by

stats ​

ts
stats: Record<string, number>;

What was added to each stat

times ​

ts
times: number;

How many times it gained: what tells the stats to be added up again