usePowerUp beta
Function of @v12-engine/engine
ts
export declare function usePowerUp(world: World, entity: Entity, groundId: number): boolean;Uses an item on the ground as a rune is used: whoever picked it casts its ability (where it stands, no mana), and it is gone from the ground, told as an item picked (itemPicked). What the runes pack does as a unit walks over one; false for an item not on the ground