# Drawstep engine · Effects · `removeKeywordAbilities` > Remove keyword abilities — Lose every ability of this parametrised family, including earlier grants; later grants still apply (CR 702.14, 702.22, 613.1f). 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#removeKeywordAbilities ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "removeKeywordAbilities", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `keyword` | `"landwalk" \| "bandsWithOther" \| "enchant"` | yes | The parametrised family removed (landwalk, bands with other) | | `duration` | `Duration` | no | CR 611.2a-b, 702.26f: continuous-effect duration. Conditional source/target filters are ANDed, identities and you are fixed on resolution, and failure ends the effect permanently. untilEndOfYourNextTurn lasts through your next turn's end step and expires at cleanup; whileYourTurn ends when another player becomes active and cannot start on an opponent's turn. untilYourNextEndStep / untilYourNextUpkeep end as that step begins; endOfCombat ends as the end-combat step ends (CR 511.2); endOfAdditionalCombat lasts through the additional combat phase created before it resolved, ending as that combat's end-combat step ends (CR 500.8, 506.1 — "that combat"). untilEvent ends when the described event happens. perpetual survives zone changes | ## Minimal form ```json {"effect":"removeKeywordAbilities","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"keyword":"landwalk"} ``` The engine reads that minimal form as: “target creature loses all landwalk abilities until end of turn”. ## Stock examples - **Landwalk Removal** — “Target creature loses all landwalk abilities until end of turn.” ```json {"effect":"removeKeywordAbilities","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"keyword":"landwalk","duration":"endOfTurn"} ``` - **Band Removal** — “Target creature loses all "bands with other" abilities until end of turn.” ```json {"effect":"removeKeywordAbilities","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"keyword":"bandsWithOther","duration":"endOfTurn"} ``` - **Animate Dead** — “When this Aura enters, if it's on the battlefield, it loses "enchant creature card in a graveyard" and gains "enchant creature put onto the battlefield with this Aura." Return enchanted creature card to the battlefield under your control and attach this Aura to it. When this Aura leaves the battlefield, that creature's controller sacrifices it.” ```json {"effect":"removeKeywordAbilities","target":{"of":"object","mode":"self"},"keyword":"enchant","duration":"permanent"} ``` ## 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