Skip to content

BuffEnd beta ​

Interface of @v12-engine/engine

ts
export interface BuffEnd

A buff that came off: it ran out (expired), or was taken off. Not called for the buffs of something that dies

Members ​

buff ​

ts
readonly buff: BuffInstance;

The buff instance that ended, with its level and source

entity ​

ts
readonly entity: Entity;

The entity the buff was on

expired ​

ts
readonly expired: boolean;

Whether the buff ran out its duration; false when it was taken off