Skip to content

abilityTip beta ​

Function of @v12-engine/client

ts
export declare function abilityTip(registry: Registry, caster: EntityView, id: string, level: number, extra?: Partial<Pick<AbilityTip, 'icon' | 'hotkey' | 'maxLevel' | 'notes'>>): AbilityTip;

The tooltip of an ability of a caster: at its level now, or at level (the next one, when a point may go into it). extra fills in what the HUD knows and the ability does not (its picture, its key, why it cannot be cast)