chooseDamageAssignmentOrder
Sent when an attacker is blocked by two or more creatures and the attacking player must choose the order in which those blockers receive combat damage — for example, ordering two blockers so that a 3/3 attacker can put lethal on the smaller one first.
Arguments
Section titled “Arguments”input.type is "chooseDamageAssignmentOrder". The remaining fields:
interface ChooseDamageAssignmentOrderInput { attackerId: string; blockerIds: Array<string>; blockerCards: Array<CardDto>;}#[serde(rename_all = "camelCase")]pub struct ChooseDamageAssignmentOrderInput { pub attacker_id: String, pub blocker_ids: Vec<String>, pub blocker_cards: Vec<CardDto>,}
References: CardDto
Response
Section titled “Response”type ChooseDamageAssignmentOrderOutput = { type: "damageAssignmentOrderDecision"; orderedBlockerIds: string[];};Return all of blockerIds, reordered front-to-back: damage will be assigned to
the blockers in this order.
Example
Section titled “Example”{ "promptId": 11, "decidingPlayerId": "player-0", "input": { "type": "chooseDamageAssignmentOrder", "attackerId": "bf-3", "blockerIds": ["bf-7", "bf-8"], "blockerCards": [ { "id": "bf-7", "name": "Grizzly Bears" }, { "id": "bf-8", "name": "Wall of Omens" } ] }}{ "promptId": 11, "output": { "type": "damageAssignmentOrderDecision", "orderedBlockerIds": ["bf-8", "bf-7"] }}