# Drawstep engine · Conditions · `sourceDealtDamage` > Source dealt damage — The source has dealt damage since it entered its current zone, by any means (CR 120.3, 400.7): "as long as it hasn't dealt damage yet" is this inside `not`. 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/conditions#sourceDealtDamage ## Where it goes A condition: `{ "kind": "sourceDealtDamage", … }` — in an `if` effect, a trigger's `condition` (intervening if), a static's `condition` ("as long as"), an activated ability's `onlyIf`, a replacement's `unless`. ## Fields No fields besides the discriminator. ## Minimal form ```json {"kind":"sourceDealtDamage"} ``` The engine reads that minimal form as: “it has dealt damage”. ## Stock examples - **Karakyk Guardian** — “This creature has hexproof as long as it hasn't dealt damage yet.” ```json {"kind":"sourceDealtDamage"} ``` ## Related - [Conditions](https://drawstep.xyz/wiki/mtg/conditions.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive