Skip to content

ValuePart beta ​

Interface of @v12-engine/engine

ts
export interface ValuePart

A part of a value that comes from a stat of the caster: 60% of ability power

Members ​

amount ​

ts
amount: number;

What that comes to now

ratio ​

ts
ratio: number;

How much of it: 0.6

stat ​

ts
stat: StatKey | 'level' | 'bonusAttackDamage';

The stat, level for each level of a hero past the first, bonusAttackDamage for what is added to its own