DamageSeen beta
Interface of @v12-engine/engine/ai
ts
export interface DamageSeenDamage seen done to one's own or an ally's entity in a think (events.damage): added up over the think, one line an entity
Members
amount
ts
amount: number;The damage done to it over the think
at
ts
at: Vec2;Where it stood, in cells
by
ts
by?: string;The unit type id of what did it, when it was seen
id
ts
id: number;The entity id of what was damaged
owner
ts
owner: PlayerId;The player whose entity it is
tick
ts
tick: number;The tick the damage was seen in
type
ts
type: string;The unit type id of what was damaged