Skip to content

restoreCharges beta ​

Function of @v12-engine/engine

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

Gives an entity's ability with charges uses back, up to all it holds: count of them, or all when left out. What a game's effect or hook does where the data's refill is not the way (a kill gives one back). Its cooldown stays