# Drawstep engine · Costs · `othersGainLife` > Others gain life — CR 118.3, 118.9: other players gain life as payment — "you may have an opponent gain 3 life" (anOpponent: the payer chooses one), "have each other player gain 6 life" (eachOtherPlayer). perChoice: an opponent is chosen separately for each that much life (cumulative upkeep's "An opponent gains 1 life", CR 702.24a). 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/costs#othersGainLife ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "othersGainLife": … }`; parts combine freely. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `othersGainLife` | `{ amount: ValueDef; who: "anOpponent" \| "eachOtherPlayer"; perChoice?: number }` | no | CR 118.3, 118.9: other players gain life as payment — "you may have an opponent gain 3 life" (anOpponent: the payer chooses one), "have each other player gain 6 life" (eachOtherPlayer). perChoice: an opponent is chosen separately for each that much life (cumulative upkeep's "An opponent gains 1 life", CR 702.24a) | ## Stock examples - **Wall of Shards** — “Cumulative upkeep—An opponent gains 1 life.” ```json {"othersGainLife":{"amount":1,"who":"anOpponent"}} ``` - **Invigorate** — “If you control a Forest, rather than pay this spell's mana cost, you may have an opponent gain 3 life.” ```json {"othersGainLife":{"amount":3,"who":"anOpponent"}} ``` - **Reverent Silence** — “If you control a Forest, rather than pay this spell's mana cost, you may have each other player gain 6 life.” ```json {"othersGainLife":{"amount":6,"who":"eachOtherPlayer"}} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [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