DeathCause beta
Interface of @v12-engine/engine
ts
export interface DeathCauseWhat killed something that died of damage: the blow that did it
Members
ability
ts
ability?: string;The id of the ability that dealt the blow, when it was one
amount
ts
amount: number;What the blow took off
crit
ts
crit: boolean;Whether the killing blow was a critical hit
how
ts
how?: string;How the blow says what it kills dies (DamageOptions.how)
overkill
ts
overkill: number;How much more it was than there was health left
tags
ts
tags?: string[];Words of the game's own about the blow (DamageOptions.tags)
type
ts
type: DamageType;The type of damage that killed