AbilityValueDef beta
TypeAlias of @v12-engine/engine
ts
export type AbilityValueDef = {
amount?: Scaled;
scaling?: Scaling;
unit?: string;
percent?: boolean;
} | ((context: AbilityTextContext) => number | AbilityValue);How a game gives a value of an ability: an amount and what scales it, or worked out in code