# Drawstep engine · Keyword abilities & simple keywords · `alternativeCost` > Alternative cost — CR 118.9 / 601.2f–h: replace the mana cost with this cost; additional costs still apply. Optional condition and origin-zone permission. Later abilities ask whether it was used with the castWith condition (alternative: "alternativeCost"). 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/keywords#alternativeCost ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "alternativeCost", … }`. Plain keywords with no parameter are strings in `keywords[]`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `CostDef` | yes | The cost (CostDef) | | `condition` | `ConditionDef` | no | A ConditionDef that must hold | | `from` | `"battlefield" \| "hand" \| "graveyard" \| "library" \| "exile" \| "stack" \| "command"` | no | Zone the card may be cast from for this alternative cost | | `label` | `string` | no | Label shown for this choice | | `manaCostLess` | `ValueDef` | no | Instead of a fixed mana payment, pay this card's own mana cost reduced by this much generic mana, worked out as it is cast (colored symbols are never reduced), plus anything in `cost`. "During an opponent's combat phase, you may cast this for {1} less for each attacking creature; if you do, …" is { cost: {}, manaCostLess: { kind: "count", filter: { types: ["Creature"], attacking: true } }, condition: … } with a castWith: "alternativeCost" condition on the rider | ## Minimal form ```json {"keyword":"alternativeCost","cost":{"mana":"{1}"}} ``` The engine reads that minimal form as: “You may pay {1} rather than pay this spell's mana cost.”. ## Stock examples - **Snapback** — “” ```json {"keyword":"alternativeCost","cost":{"exileOthers":{"filter":{"colors":["U"]},"zones":["hand"],"count":1}}} ``` - **Force of Will** — “” ```json {"keyword":"alternativeCost","cost":{"payLife":1,"exileOthers":{"filter":{"colors":["U"]},"zones":["hand"],"count":1}}} ``` - **Thunderclap** — “” ```json {"keyword":"alternativeCost","cost":{"sacrifice":{"of":"object","mode":"chosen","filter":{"subtypes":["Mountain"],"controller":"you"}}}} ``` ## Related - [Keyword abilities & simple keywords](https://drawstep.xyz/wiki/mtg/keywords.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