# Drawstep engine · Effects · `sacrifice` > Sacrifice — The players `who` means (default you) each sacrifice `target` (mode `choose` = of their choice; `random` = `max` of their permanents at random, default one; `all` = every match). The count is per player. `who: "target"` with `player` is "target player / opponent sacrifices …" (the player is a target of the spell). 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#sacrifice ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "sacrifice", … }`. Steps resolve in order. Printed words that point here (search aliases): sacrifice edict sacrifices a creature each player 1/3 of the creatures. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | | `player` | `PlayerTargetDef` | no | Player selector for whose zone or which player is counted | | `also` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | CR 701.21a, 101.4: an additional player in the same sacrifice instruction ("you and that player each sacrifice a creature"); each chooses their own permanent and the sacrifices happen at once. Deduplicated, in APNAP order | ## Minimal form ```json {"effect":"sacrifice","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “sacrifice a creature”. ## Stock examples - **Sacrifice Instruction** — “” ```json {"effect":"sacrifice","target":{"of":"object","mode":"choose","filter":{"types":["Creature"]}}} ``` - **Ascend Burst** — “” ```json {"effect":"sacrifice","target":{"of":"object","mode":"all","filter":{"subtypes":["Clue"],"controller":"you"}}} ``` - **Tectonic Break** — “Each player sacrifices X lands of their choice.” ```json {"effect":"sacrifice","target":{"of":"object","mode":"chosen","filter":{"types":["Land"]},"min":{"kind":"var","name":"X"},"max":{"kind":"var","name":"X"}},"who":"eachPlayer"} ``` ## 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) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive