CombatProfile
type CombatProfile = {
readonly steps: readonly {
readonly conditions: readonly ({
readonly type: "self-hp" | "self-mp" | "ally-hp";
readonly op: "<=" | ">=";
readonly value: number;
readonly unit: "percent" | "value";
} | {
readonly type: "self-aura" | "target-aura";
readonly auraName: string;
readonly op: "<=" | ">=";
readonly value: number;
})[];
readonly skill: 0 | 3 | 2 | 1 | 4 | 5;
readonly priority?: boolean;
readonly cooldownMode?: "use-if-ready" | "wait-for-cooldown";
readonly waitMs?: number;
}[];
readonly cooldownMode: "use-if-ready" | "wait-for-cooldown";
readonly id: string;
readonly label: string;
readonly delayMs: number;
readonly classNames?: readonly string[];
readonly consumable?: string;
readonly resetSkillIndexOnTargetDeath?: boolean;
readonly messageTriggers?: readonly {
readonly skill: 0 | 3 | 2 | 1 | 4 | 5;
readonly messageIncludes: string;
readonly source: "aura" | "animation" | "any";
readonly cooldownMs?: number;
}[];
}
Defined in combatProfiles.ts:113