Skip to content

GrantOptions beta ​

Interface of @v12-engine/engine

ts
export interface GrantOptions

Options of a change of a unit's abilities (grantAbility, swapAbility): its level, for how long or how many casts, where on the card

Members ​

level ​

ts
level?: number;

The level it is given at: 1, or that of what it takes the place of, when left out

slot ​

ts
slot?: number;

Where among its abilities (and so on the card) it goes: after the rest when left out

until ​

ts
until?: number;

Seconds until it is gone (and what it took the place of back): for good when left out

uses ​

ts
uses?: number;

Casts of it before it is gone: for good when left out