changePool beta
Function of @v12-engine/engine
ts
export declare function changePool(world: World, entity: Entity, pool: string, amount: number): number;Fills a pool of a unit by amount (empties it, under 0), as far as its bounds go, its thresholds' buffs put on and taken off, the time it decays after started over: what the gain effect does, and an ability's cost and gain. Nothing while a threshold's buff that empties it holds it still. How much it changed