Skip to content

recallAbility beta ​

Function of @v12-engine/engine

ts
export declare function recallAbility(options?: {
    id?: string;
    name?: string;
    duration?: number;
    cooldown?: number;
    hotkey?: string;
}): AbilityDef;

Recall (features-plan F2): a hero stands and channels for a few seconds, then is at its side's home (homeOf), however far; hurt in the meantime, or told to do something else, and it stays where it is. An ability to give heroes (UnitTypeDef.abilities), made of the engine's parts: a channel (AbilityDef.channel) that breaksOnDamage, and the teleport effect when it is finished. Its id, name, how long it takes, its cooldown and key are the game's to say