# Drawstep engine · Effects · `gainLife` > Gain life — e.g. “you gain 1 life”. 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#gainLife ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "gainLife", … }`. Steps resolve in order. Printed words that point here (search aliases): gain life lifegain 1. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | | `also` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Each named participant gains the amount; if both refer to the same player, they gain twice the amount as one event | | `target` | `TargetDef` | no | What it acts on (TargetDef) | | `amount` | `ValueDef` | yes | How many / how much (integer or ValueDef) | ## Minimal form ```json {"effect":"gainLife","amount":1} ``` The engine reads that minimal form as: “you gain 1 life”. ## Stock examples - **Iteration 71 Adventurer** — “” ```json {"effect":"gainLife","amount":1} ``` - **Modal Counter Witness // Modal Land Witness** — “” ```json {"effect":"gainLife","amount":2} ``` - **Public Ability Study** — “” ```json {"effect":"gainLife","amount":2} ``` ## 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) - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive