# Drawstep engine · Effects · `fight` > Fight — e.g. “~ fights target creature”. 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/effects#fight ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "fight", … }`. Steps resolve in order. Printed words that point here (search aliases): fights fight bite. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `what` | `TargetDef` | no | The creature that fights (default: the source): "target creature you control fights target creature you don't control" | | `pairwise` | `boolean` | no | CR 701.14a, 608.2d: pair different creatures; with unequal numbers as many pairs as possible fight | | `whenCreatureDies` | `EffectDef[]` | no | Trigger these effects once if a creature dies from that fight at the immediately following state-based action check | ## Minimal form ```json {"effect":"fight","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “~ fights target creature”. ## Stock examples - **Prey Upon** — “Target creature you control fights target creature you don't control.” ```json {"effect":"fight","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"opponent"}},"what":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"you"}}} ``` - **Scab-Clan Giant** — “When this creature enters, it fights target creature an opponent controls chosen at random.” ```json {"effect":"fight","target":{"of":"object","mode":"chosen","random":true,"filter":{"types":["Creature"],"controller":"opponent"}}} ``` - **Time to Feed** — “Choose target creature an opponent controls. When that creature dies this turn, you gain 3 life. Target creature you control fights that creature.” ```json {"effect":"fight","target":{"of":"object","mode":"affected"},"what":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"you"}}} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the steps a nested `effects` / `then` list may contain - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive