Skip to content

HoldDef beta ​

Interface of @v12-engine/engine

ts
export interface HoldDef

How an ability is held to charge and let go (AbilityDef.hold), in a game with the holds pack: Varus's Piercing Arrow, Xerath's Arcanopulse, Pyke's Bone Skewer, Viego's Spectral Maw

Members ​

buff ​

ts
buff?: string;

A buff on the caster while it holds: a slow

max ​

ts
max: number;

Seconds held for it to be full

range ​

ts
range?: {
        from: number;
        to: number;
    };

How far it reaches let go at once (from) and full (to): where it is let go at is brought that near

scale ​

ts
scale?: number;

What its amounts come to full, times what they are let go at once (1.5: half again); what comes between is between

tap ​

ts
tap?: {
        under: number;
        effects: EffectDef[];
    };

Let go before under seconds: these effects in place of its own (Pyke's stab, not his hook)

upTo ​

ts
upTo?: number;

Seconds held after which it goes off by itself, where it was last aimed: as it is full when left out