MeleeSurrenderOptions beta
Interface of @v12-engine/engine/ai
ts
export interface MeleeSurrenderOptionsWhen the melee player gives up (MeleeArmyOptions.surrender): the condition, and how long it holds first
Members
after
ts
after?: number;Seconds the condition holds on end before it gives up: 30 when left out
when
ts
when?: AiCondition;When it cannot come back, as a condition (data or a function of the brain). By default: no hall and no worker of its own, and its fighters (none at all, or) outmatched by their army as last seen in the last two minutes, odds under 0.2