Skip to content

dispelBuffs beta ​

Function of @v12-engine/engine

ts
export declare function dispelBuffs(world: World, entity: Entity, by: Entity): number;

Takes buffs off a unit, as a dispel does: the good ones of an enemy of by, the bad ones of a friend. Those that say they cannot be (BuffDef.dispellable: false) stay. How many it took