# Drawstep engine · Values · `replaced` > Replaced — Inside a replacement effect: the amount of the replaced event ("that much damage", "that many counters") or the damage it prevented ("the damage prevented this way"). 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#replaced ## Where it goes A number: `{ "kind": "replaced", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `property` | `"amount" \| "prevented"` | yes | The replaced event's amount, or the amount prevented | ## Minimal form ```json {"kind":"replaced","property":"amount"} ``` The engine reads that minimal form as: “that much”. ## Stock examples - **Eligeth, Crossroads Augur** — “If you would scry a number of cards, draw that many cards instead.” ```json {"kind":"replaced","property":"amount"} ``` - **Tainted Remedy** — “If an opponent would gain life, that player loses that much life instead.” ```json {"kind":"replaced","property":"amount"} ``` - **Gisela Prevention** — “If a source would deal damage to you or a permanent you control, prevent half that damage, rounded up.” ```json {"kind":"replaced","property":"amount"} ``` ## Related - [Values](https://drawstep.xyz/wiki/mtg/values.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive