Skip to content

resourcesPack beta ​

Function of @v12-engine/engine

ts
export declare function resourcesPack(): GamePack;

Unit resources: what a game with it (Rules.packs) gets for pools beside mana. A unit type's pools (PoolDef: energy back each second, fury that decays when unused, heat that overheats at a threshold, flow filled by walking, ammo that reloads), an ability's cost of them (not ready with less, paid as it goes off) and gain (given as it goes off), costs that grow by a buff's stacks (costGrowth, mana too), an attack's cost (attackCost: no attack with less), buffs that drain a pool or mana each second while they last (BuffDef.drain), and the gain effect. changePool, poolOf and poolCosts in code