AfterCast beta
Interface of @v12-engine/engine
ts
export interface AfterCastAn ability that went off
Members
ability
ts
readonly ability: AbilityDef;The ability that went off
caster
ts
readonly caster: Entity;The unit that cast
charged
ts
readonly charged: boolean;It went off charged, and spent the charge
item
ts
readonly item?: ItemInstance;The item it was cast from, for an item's ability
level
ts
readonly level: number;The level it was cast at
point
ts
readonly point: Vec2;The point it was cast at
target
ts
readonly target?: Entity;The unit it was cast on, left out for a point or no target