Skip to content

runesPack beta ​

Function of @v12-engine/engine

ts
export declare function runesPack(options?: RunesOptions): GamePack;

Runes, as in classic RTS games: an item that is a power-up (ItemDef.powerUp, RunesOptions.powerUp in code) is used as it is picked up, by a unit that walks over it (RunesOptions.takes) or is told to pick it up, and never carried: whoever picked it casts its ability where it stands. A rune of healing is an item whose ability heals around; a tome one whose ability has the tomes pack's tome effect. usePowerUp does it in code