Skip to content

abilityChangesPack beta ​

Function of @v12-engine/engine

ts
export declare function abilityChangesPack(): GamePack;

Abilities changed at runtime: what a game with it (Rules.packs) gets. The effects grantAbility (an ability given, for a while or so many casts), swapAbility (one in the place of another on the card, and back), stealAbility (the target's ultimate in the place of the one cast, for one cast: Hijack) and convert (the target the caster's: Charm); an ability's upgrades, one chosen for good (the upgradeAbility command); what lasts a while kept in the abilityGrants component, told to the owner (a stolen one shown in the place of what it took). grantAbility, removeAbility, swapAbility and upgradeAbility in code