Skip to content

breakBuffs beta ​

Function of @v12-engine/engine

ts
export declare function breakBuffs(world: World, entity: Entity, by: BuffBreak, ability?: string): void;

Takes off what a unit carries that breaks on what it just did or had done to it (BuffDef.breaksOn); ability, for a cast, the ability whose buffs stay (what it put on itself)