# Drawstep engine · Keyword abilities & simple keywords · `ward` > Ward — Ward: counter an opposing targeting spell or ability unless its controller pays this cost, including non-mana costs (CR 702.21). 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#ward ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "ward", … }`. Plain keywords with no parameter are strings in `keywords[]`. Printed words that point here (search aliases): ward sacrifice a creature ward cost. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `CostDef` | yes | The cost (CostDef) | ## Minimal form ```json {"keyword":"ward","cost":{"mana":"{1}"}} ``` The engine reads that minimal form as: “Ward {1}”. ## Stock examples - **Life Ward** — “” ```json {"keyword":"ward","cost":{"payLife":2}} ``` - **Discard Ward** — “” ```json {"keyword":"ward","cost":{"discard":1}} ``` - **Double Ward** — “” ```json {"keyword":"ward","cost":{"payLife":2}} ``` ## Related - [Keyword abilities & simple keywords](https://drawstep.xyz/wiki/mtg/keywords.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive