# Drawstep engine · Effects · `nextSpellHas` > Next spell has — The next matching spell you cast this turn has this keyword ability, already while being cast (CR 611.2, 601.2). 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#nextSpellHas ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "nextSpellHas", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `filter` | `ObjectFilter` | no | Which objects (ObjectFilter; set fields AND together) | | `keywordAbility` | `KeywordAbilityDef` | yes | A parametrised keyword ability (KeywordAbilityDef: `{ "keyword": "ward", "cost": { … } }`) | ## Minimal form ```json {"effect":"nextSpellHas","keywordAbility":{"keyword":"prowess"}} ``` The engine reads that minimal form as: “the next spell you cast this turn has prowess”. ## Stock examples - **Wand of the Worldsoul** — “{T}: The next spell you cast this turn has convoke.” ```json {"effect":"nextSpellHas","keywordAbility":{"keyword":"convoke"}} ``` ## 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) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive