Skip to content

spendCharge beta ​

Function of @v12-engine/engine

ts
export declare function spendCharge(world: World, entity: Entity, instance: ItemInstance): void;

One use of an item that has charges. The last one takes the item with it