CounterHint beta
TypeAlias of @v12-engine/engine/ai
ts
export type CounterHint = string | {
target: string;
weight?: number;
};What a game declares a type good against (UnitTypeDef.ai.counters): a tag ('air'), a role ('siege') or a type id, as a word, or with how much it counts (weight, 0.5 when left out: a unit whose whole opponent it counters is worth half again)