Skip to content

CasterFacts beta ​

Interface of @v12-engine/engine

ts
export interface CasterFacts

What the caster brings to an ability's numbers: its stats now, its level as a hero, and the attack damage of its own

Members ​

heroLevel ​

ts
heroLevel: number;

1 for what is not a hero

ownAttackDamage ​

ts
ownAttackDamage: number;

The attack damage it has from its type and its levels, without what it carries or what is on it

stats ​

ts
stats: Readonly<Stats>;

The stats of the caster now, which the numbers of an ability scale from