targetingOf beta
Function of @v12-engine/engine
ts
export declare function targetingOf(registry: {
readonly targetings: {
has(id: string): boolean;
get(id: string): Targeting;
};
}, ability: AbilityDef): Targeting | undefined;A game's own way of aiming an ability (Rules.targetings), where its target names one