The context scope of the current automated attack. The attack dialog always offers the strike mode; a supplied mode is what it starts out selected on.

interface AttackContextScope {
    aim: string;
    mode: PointerData;
    priorAttackResult: sohl.entity.result.AttackResult;
}

Properties

aim: string

The aim of the attack.

The strike mode to attack with — the attack dialog's pre-selected mode, and the mode used outright when the dialog is skipped.

priorAttackResult: sohl.entity.result.AttackResult

The prior automated attack result that is being reassessed.