Skip to content

damaged beta ​

Variable of @v12-engine/engine

ts
damaged: import("./events").EventKey<{
    target: import("./entity").Entity;
    source?: import("./entity").Entity;
    amount: number;
    type: import("./defs").DamageType;
    crit: boolean;
    attack: boolean;
    ability?: string;
    tags?: string[];
}>

Something took damage: who dealt it, how much, of which type, whether a critical strike, and by an attack or an ability