Skip to content

AbilityValue beta ​

Interface of @v12-engine/engine

ts
export interface AbilityValue

A number of an ability, worked out: its total, and what it is made of

Members ​

base ​

ts
base: number;

What it is without the stats of the caster

parts ​

ts
parts: ValuePart[];

The stat-scaled parts of the value, one for each stat of the caster that adds to it

total ​

ts
total: number;

The value in full: base and every part added up

unit ​

ts
unit?: string;

What follows the number: s for seconds, %. Nothing when left out