EffectValueContext beta
Interface of @v12-engine/engine
ts
export interface EffectValueContextWhat an amount in code is asked with (EffectValue): the ability's level and what the caster brings now, and the effect as it lands, where it is landing. The tooltip asks it too (abilityValues), with no effect and no target
Members
caster
ts
caster: CasterFacts;What the caster brings to the numbers now: its stats, its level as a hero (casterFacts)
effect
ts
effect?: EffectContext;The effect as it lands: the world, the caster, where, how far a missile came. Not there for the tooltip
level
ts
level: number;The level of the ability