Skip to content

abilityValues beta ​

Function of @v12-engine/engine

ts
export declare function abilityValues(ability: AbilityDef, level: number, caster: CasterFacts, buff?: (id: string) => BuffDef | undefined): Map<string, AbilityValue>;

The values of an ability at a level, for a caster, by name: its own (AbilityDef.values), and what its effects say when it does not name them itself: damage, heal, shield and amount (the first effect of each kind with an amount), duration, radius, chance (in percent), range, cooldown, charges and refill, mana, window (a recast's), count and distance