Skip to content

AiHandicap beta ​

Interface of @v12-engine/engine/ai

ts
export interface AiHandicap

What a computer is given beyond the rules (AiProfile.handicap): each a factor, 1 (or left out) for none

Members ​

buildTime ​

ts
buildTime?: number;

How long what it trains, builds and researches takes, through a beforeProduce hook: under 1 is sooner

damage ​

ts
damage?: number;

The damage it deals, before armour, through a beforeDamage hook

health ​

ts
health?: number;

The most health of everything it has, through a stats hook: the classic handicap

income ​

ts
income?: number;

What its workers bring in, through the game's beforeDeposit hook