@my-swu/simulator-client / InstructedAttackView
Interface: InstructedAttackView
Defined in: packages/ts-sdk/src/generated/types/common.ts:2622
Legal attacker choices for an event that instructs a unit to attack.
This is not an effect target group: the selected unit is stored as the event's preselected command target, then the normal attack flow picks its defender. Keeping it explicit prevents attacker choices from leaking into generic ability-target projections.
Example:
ts
import type { InstructedAttackView } from '@my-swu/simulator-client'
const instructedAttackView: InstructedAttackView = {
"attackerIds": [],
}
console.log(instructedAttackView)Properties
attackerIds
Example:
ts
import type { InstructedAttackView } from '@my-swu/simulator-client'
const instructedAttackView: InstructedAttackView = {
"attackerIds": [],
}
const { attackerIds } = instructedAttackView
console.log(attackerIds)attackerIds:
number[]
Defined in: packages/ts-sdk/src/generated/types/common.ts:2623
