# Drawstep engine · Values · `damageDealt` > Damage dealt — CR 120.1, 608.2h: damage actually dealt this turn after prevention and replacement, narrowed by recipient, source, kind and combat; "if it was dealt damage this turn" compares it with 0. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/values#damageDealt ## Where it goes A number: `{ "kind": "damageDealt", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Recipients: a player selector ("an opponent was dealt damage" is eachOpponent), or an object selection compared by identity — { mode: "self" } for "this creature", { mode: "affected" } / { mode: "triggering" } for "it" (the same incarnation, CR 400.7) | | `from` | `ObjectFilter` | no | Match source characteristics when the damage was dealt. For red sources you controlled, use { colors: ["R"], controller: "you" } | | `damageKind` | `"combat" \| "noncombat"` | no | Only combat / noncombat damage | | `excess` | `boolean` | no | CR 120.4a: sum the damage beyond lethal instead of the damage dealt | | `combat` | `boolean` | no | CR 506.1: only this combat phase (0 outside combat) | | `lastTurn` | `boolean` | no | Read last turn instead of this turn | | `thisGame` | `boolean` | no | CR 120.1: damage dealt to players at any time this game, not only this turn ("each opponent dealt combat damage this game by a creature named Gollum, Obsessed Stalker": to you, from { name, types: ["Creature"] }, combat). Damage to permanents is only kept for the turn | ## Minimal form ```json {"kind":"damageDealt"} ``` The engine reads that minimal form as: “the amount of damage dealt this turn”. ## Stock examples - **Antagonism** — “At the beginning of each player's end step, this enchantment deals 2 damage to that player unless one of their opponents was dealt damage this turn.” ```json {"kind":"damageDealt","to":{"kind":"eachPlayer","where":{"kind":"playerIs","who":"triggeringPlayer","is":"opponent"}}} ``` - **Ojer Axonil, Deepest Might** — “If a red source you control would deal an amount of noncombat damage less than Ojer Axonil's power to an opponent, that source deals damage equal to Ojer Axonil's power instead.” ```json {"kind":"damageDealt","from":{"colors":["R"],"controller":"you"},"damageKind":"noncombat"} ``` ## Related - [Values](https://drawstep.xyz/wiki/mtg/values.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive