Skip to content

removeStacks beta ​

Function of @v12-engine/engine

ts
export declare function removeStacks(world: World, entity: Entity, buff: string, count?: number): void;

Takes stacks of a buff off an entity: count of the first of it, the buff once none is left; all of it, every one of it there is, when count is left out. What removeBuff does, and an attack that consumes its buff