Skip to content

AmbushThen beta ​

TypeAlias of @v12-engine/engine/ai

ts
export type AmbushThen = 'return' | 'stay' | AiAction;

What an ambush does once the fight it sprang is over: return to its place and wait again (the default), stay where it is, or an action (a word it tells itself, { say: 'attack' }, or a function of the brain), done once