Skip to content

LastHitOptions beta ​

Interface of @v12-engine/engine

ts
export interface LastHitOptions

What a game counts of last hits and denies (lastHitsPack)

Members ​

counts ​

ts
counts?: (world: World, dead: Entity) => boolean;

Which deaths count, as last hits or denies: units, not heroes nor structures, when left out

deny ​

ts
deny?: DenyOptions | false;

The rule of denying (denying), or false for a game that only counts last hits: the engine's when left out

experience ​

ts
experience?: number;

The part of a unit's experience the enemy heroes near it still get when it is denied, shared as for a kill: a half when left out (none for a kill by the enemy would be no deny at all; all of it, no point in denying)