# Drawstep engine · Keyword abilities & simple keywords · `specialize` > Specialize — Specialize: pay this mana cost and discard a card; change into a form allowed by that card's colors or basic land types. Sorcery speed. 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#specialize ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "specialize", … }`. Plain keywords with no parameter are strings in `keywords[]`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `CostDef` | yes | The cost (CostDef) | | `onlyIf` | `ConditionDef` | no | A ConditionDef that must hold | | `from` | `"graveyard"` | no | Where / what it comes from | | `costModifiers` | `object[]` | no | This keyword's own activation-cost changes ("this ability costs {1} less to activate for each …") | ## Minimal form ```json {"keyword":"specialize","cost":{"mana":"{1}"},"from":"graveyard"} ``` The engine reads that minimal form as: “Specialize {1}”. ## Stock examples - **Lukamina, Moon Druid** — “Wild Shape — Specialize {3}. Activate only if you control six or more lands.” ```json {"keyword":"specialize","cost":{"mana":"{3}"},"onlyIf":{"kind":"controls","who":"you","filter":{"types":["Land"]},"min":6}} ``` - **Wyll, Pact-Bound Duelist** — “When Wyll, Pact-Bound Duelist enters, gain control of target artifact or creature an opponent controls with mana value 4 or less until the end of your next turn.” ```json {"keyword":"specialize","cost":{"mana":"{2}"}} ``` - **Klement, Novice Acolyte** — “When Klement, Novice Acolyte enters, creature cards in your hand perpetually get +1/+1.” ```json {"keyword":"specialize","cost":{"mana":"{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