Skip to content

MeleeBuildOptions beta ​

Interface of @v12-engine/engine/ai

ts
export interface MeleeBuildOptions

How the melee brain builds (build() of the melee brain): its ladder of wants, and how much better an answer to their army must be for its building to be put up

Members ​

counterMargin ​

ts
counterMargin?: number;

How much better a type must answer their armies than what it can train now, for the building it needs to be put up: 1.2 when left out

expandAt ​

ts
expandAt?: number;

The part of what it held left in the mine at home under which another hall by a free mine is wanted (the expand rung): 0.35 when left out. 0 for never

ladder ​

ts
ladder?: readonly MeleeWant[];

The ladder of wants, most important first: MELEE_LADDER when left out