Skip to content

heroCallings beta ​

Function of @v12-engine/engine

ts
export declare function heroCallings(game: Registry | Pick<Rules, 'packs' | 'settings'>, def: Pick<UnitTypeDef, 'hero'>): {
    calling: CallingDef;
    strength: CallingStrength;
}[];

A hero's callings, strongest first (in the order its type gives those of one strength), each with its definition: one the game has no definition of is named by its id. None for a unit type that is no hero or says none