# Drawstep engine wiki — Statics & layers > Continuous effects and the CR 613 layer each one applies in. Engine: Magic: The Gathering (`mtg`). Page: https://drawstep.xyz/wiki/mtg/statics · Raw Markdown: https://drawstep.xyz/wiki/mtg/statics.md · Complete AI pack (every topic in one document, with the output contract and worked examples): https://drawstep.xyz/wiki/drawstep-mtg-ai-pack.md. This page is generated from Drawstep's card schema; field names and discriminators are exact. A card definition is one JSON object; anything the vocabulary cannot express goes verbatim into `unparsed` instead of being approximated. ## Static effects (`StaticEffectDef`, discriminator `type`) Continuous effects applied through the CR 613 layers: gainControl (2), changeColorWord (3), addTypes/setTypes/removeTypes (4), addColors/setColors (5), grantKeyword/removeKeyword/grantAbility/grantKeywordAbility/loseAllAbilities (6), setPT (7a with `cda`, else 7b), modifyPT (7c), switchPT (7d). `playerRule` rules: `hexproof`, `shroud`, `noMaxHandSize`, `maxHandSize`, `maxHandSizeModifier`, `ignoreLegendRule`, `cantGainLife`, `cantLoseLife`, `cantLoseGame`, `cantWinGame`, `cantSearchLibraries`, `cantSearchOwnLibrary`, `cantDrawCards`, `cantDrawExtraCards`, `additionalLands`, `additionalGraveyardLands`, `cantPlayLands`, `oneSpellPerTurn`, `castAsFlash`, `castWithoutPaying`, `playFromGraveyard`, `playFromLibrary`, `castFromExile`, `topCardRevealed`, `lookAtTopCard`, `handsRevealed`, `skipUpkeep`, `skipUntap`, `lifeCantChange`, `cantCastSpells`, `castOnlyAsSorcery`, `playLinkedExile`, `castLinkedExile`, `additionalVotes`, `cantLoseForZeroLife`, `manaAsAnyColor`, `manaAsAnyType`, `cantAttack`. - `native` — A continuous effect applied by the engine in the given layer. Engine-implemented node: `id` names an implementation the game module registers; cards contain no code, and an id the running engine doesn't know rejects the card. `text` is the printed clause shown wherever the card is described. Fields: `id`: string — Registry id of an implementation this engine ships ("magic.keepOnePerTypeSacrificeRest"); the native page of each kind lists every id that exists. Never invent one; `params?`: object — Parameters the registered implementation validates and reads; each registered id documents its own; `text`: string — The printed clause this continuous effect stands for; `to?`: TargetDef — The objects it applies to (default: the source); `layer`: "L2" | "L3" | "L4" | "L5" | "L6" | "7a" | "7b" | "7c" | "7d" — CR 613.1: the layer a native continuous effect applies in. - `grantKeyword` — CR 112.1, 613.1f: grant a keyword to matching permanents or spell groups, including resolving spells (e.g. instant and sorcery spells you control have lifelink). Fields: `to`: TargetDef — What it applies to (TargetDef); `keyword`: string — A plain keyword string ("Flying", "Haste" …) as in `keywords[]`. - `removeKeyword` — CR 613.1f: remove this keyword ability in layer 6. Fields: `to`: TargetDef — What it applies to (TargetDef); `keyword`: string — A plain keyword string ("Flying", "Haste" …) as in `keywords[]`. - `removeKeywordAbilities` — Layer 6: remove every ability of this family at this timestamp (CR 613.1f). Fields: `to`: TargetDef — What it applies to (TargetDef); `keyword`: "landwalk" | "bandsWithOther" | "enchant" — The parametrised family removed (landwalk, bands with other). - `cantHaveKeyword` — Lose and cannot have or gain this keyword, even from later grants (CR 613.1f, 101.2). Fields: `to`: TargetDef — What it applies to (TargetDef); `keyword`: string — A plain keyword string ("Flying", "Haste" …) as in `keywords[]`. - `loseAllAbilities` — e.g. “~ loses all abilities”. Fields: `to`: TargetDef — What it applies to (TargetDef); `exceptMana?`: boolean — CR 613.1f, 605.1a: "lose all abilities except mana abilities" — the affected objects keep their mana abilities (Blood Sun). - `loseAbility` — CR 613.1f: one printed ability, by index, is removed (positions of the others are kept). Fields: `to`: TargetDef — What it applies to (TargetDef); `index`: number — Index of the printed ability lost (0 = first). - `grantAbility` — e.g. “~ has "When ~ enters, (no effects)"”. Fields: `to`: TargetDef — What it applies to (TargetDef); `ability`: AbilityDef — The ability granted (an AbilityDef). - `grantKeywordAbility` — CR 112.1, 613.1f: the affected objects have this parametrised keyword ability; spell groups also read it during casting (e.g. split second, CR 601.2). Fields: `to`: TargetDef — What it applies to (TargetDef); `keywordAbility`: KeywordAbilityDef — A parametrised keyword ability (KeywordAbilityDef: `{ "keyword": "ward", "cost": { … } }`). - `gainAbilitiesOf` — CR 613.1f: the affected objects have all abilities of the from objects as though printed on them ("has all activated abilities of all creature cards in all graveyards"); each gained ability refers to the object that has it, and nothing gains abilities from itself. Fields: `to`: TargetDef — What it applies to (TargetDef); `from`: { of: "object" | "player" | "spell" | "ability" | "spellOrAbility" | "any"; slot?: string; mode?: "chosen" | "choose" | "all" | "self" | "random" | "host" | "triggering" | "created" | "convoked" | "linked" | "paired" | "top" | "affected" | "replaced" | "replacedSource" | "triggeringOther" | "about" | "thisWay" | "costPaid" | "attacked" | "grantor"; action?: "sacrificed" | "milled" | "destroyed" | "exiled" | "discarded" | "returned" | "putIntoLibrary" | "tapped" | "untapped" | "damaged" | "drawn" | "revealed" | "countersPlaced" | "countersRemoved" | "amassed" | "countered" | "phasedOut" | "searched" | "created"; among?: "triggering"; chooser?: any; random?: true; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; allZones?: boolean; position?: "top" | "bottom"; filter?: ObjectFilter; player?: any; playerOwns?: true; exceptPlayer?: any; playerFilter?: "opponent"; sameZoneOwner?: boolean; maxTotalManaValue?: ValueDef; maxTotalPower?: ValueDef; distinctBy?: "name" | "manaValue" | "controller" | "power"; equalBy?: "toughness" | "power" | "manaValue"; sharesType?: "card" | "permanent"; sharedBy?: "creatureType"; zones?: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[]; playerTarget?: PlayerTargetDef; digSubset?: "looked" | "picked" | "rest"; span?: number; targetCount?: number; targetsOnlySource?: boolean; permanents?: true; stackTargets?: object; spell?: object; ability?: object; min?: ValueDef; max?: ValueDef | "any"; differentFromEarlierTargets?: boolean; attacker?: "self" | "triggering"; label?: string } — The objects whose abilities are had: a zone set ("all creature cards in all graveyards"), the linked exiled cards (mode linked), the host, …; `kinds?`: ("activated" | "triggered" | "static" | "keyword")[] — Which classes of abilities (default all): activated includes loyalty and mana abilities, static includes replacement effects, keyword covers simple keywords and parametrised keyword abilities; `spendAsAny?`: { colors?: ("W" | "U" | "B" | "R" | "G")[] } — CR 609.4b, 613.1f: "You may spend mana as though it were mana of any color to activate those abilities" — the costs of the gained activated abilities may be paid with mana of any color. - `modifyPT` — e.g. “~ gets +1/+1”. Fields: `to`: TargetDef — What it applies to (TargetDef); `power`: ValueDef — Power (a number, or a string such as "*" for characteristic-defining values); `toughness`: ValueDef — Toughness (a number, or a string such as "*" for characteristic-defining values). - `setPT` — e.g. “~ has base toughness ?”. Fields: `to`: TargetDef — What it applies to (TargetDef); `fromLastLinkedCreature?`: boolean — Set power and toughness to those of the last creature card still exiled with this source, in layer 7b (CR 607.2a, 613.4b); `power?`: ValueDef — Power (a number, or a string such as "*" for characteristic-defining values); `toughness?`: ValueDef — Toughness (a number, or a string such as "*" for characteristic-defining values); `cda?`: boolean — Characteristic-defining P/T in layer 7a and every zone (CR 604.3, 613.4a). - `switchPT` — e.g. “~'s power and toughness are switched”. Fields: `to`: TargetDef — What it applies to (TargetDef). - `addTypes` — e.g. “~ is (no types) in addition to its other types”. Fields: `to`: TargetDef — What it applies to (TargetDef); `types?`: string[] — Card types, e.g. ["Artifact", "Creature"]; `subtypes?`: string[] — Subtypes, e.g. ["Elf", "Warrior"]; `allCreatureTypes?`: boolean — CR 205.3m, 613.1d: every creature subtype in layer 4, without gaining changeling; `allLandTypes?`: boolean — CR 205.3i, 613.1d: every land type ("is every land type in addition to its other types"); `allNonbasicLandTypes?`: boolean — CR 205.3i, 613.1d: every nonbasic land type ("This land is every nonbasic land type", Planar Nexus); `supertypes?`: string[] — CR 205.4, 613.1d: additional supertypes, such as Legendary from The Ring; `chosenSubtype?`: boolean | string — CR 205.3, 613.1d: also the creature type chosen for the source; true reads creatureType, a string names its key; `cda?`: boolean — CR 604.3, 613.3: a characteristic-defining ability of the object itself ("Burakos is also a Cleric, Rogue, Warrior, and Wizard"); functions in every zone and applies first in layer 4. Use with to self. - `setTypes` — CR 205.1a-b, 205.3c, 613.1d: replace the specified card types or subtype family; associated subtypes of lost card types are also lost. Fields: `to`: TargetDef — What it applies to (TargetDef); `fromLastLinkedCreature?`: boolean — Replace creature types with those of the last creature card still exiled with this source, together with any listed subtypes (CR 205.3m, 607.2a); `subtypeKind?`: "creatureType" | "basicLandType" — Replace only this subtype family, preserving subtypes of other card types (CR 205.1b, 305.7); `types?`: string[] — Card types, e.g. ["Artifact", "Creature"]; `subtypes?`: string[] — Subtypes, e.g. ["Elf", "Warrior"]; `chosenSubtype?`: boolean | string — CR 205.3, 613.1d: the subtypes become the creature type chosen for the source (Conspiracy: "are the chosen type"); true reads creatureType, a string names its key. Nothing changes until a type is chosen. - `removeTypes` — e.g. “~ is no longer (no types)”. Fields: `to`: TargetDef — What it applies to (TargetDef); `types?`: string[] — Card types, e.g. ["Artifact", "Creature"]; `subtypes?`: string[] — Subtypes, e.g. ["Elf", "Warrior"]; `supertypes?`: string[] — Supertypes removed (CR 205.4). - `addColors` — e.g. “~ is colorless in addition to its other colors”. Fields: `to`: TargetDef — What it applies to (TargetDef); `colors`: string[] — Colors as W / U / B / R / G codes; `chosenColor?`: boolean | string — CR 105.3, 613.1e: also the color chosen for the source ("is the chosen color in addition to its other colors"); true reads the color key, a string names it. Nothing changes until a color is chosen. - `setColors` — e.g. “~ is colorless”. Fields: `to`: TargetDef — What it applies to (TargetDef); `colors`: string[] — Colors as W / U / B / R / G codes; `chosenColor?`: boolean | string — CR 105.3, 613.1e: the color chosen for the source replaces the colors ("is the chosen color"); true reads the color key, a string names it. Nothing changes until a color is chosen; `cda?`: boolean — CR 604.3: a characteristic-defining ability of the object itself; it functions in every zone ("Clara Oswald is the chosen color"). - `changeColorWord` — e.g. “in ~'s text, "" reads ""”. Fields: `to`: TargetDef — What it applies to (TargetDef); `from`: string — The color word replaced; `toColor`: string — The color word it becomes. - `evasion` — Blocking restrictions, minimum/maximum blocking group size, or cannot be blocked unless a condition holds (CR 509.1b); with none of those fields, can't be blocked at all ("Equipped creature can't be blocked"). A rule effect of the static ability (CR 613.11): the affected creature losing all abilities doesn't remove it. Fields: `to`: TargetDef — What it applies to (TargetDef); `cantBeBlockedBy?`: ObjectFilter — An ObjectFilter (all set fields must match); `onlyBlockedBy?`: ObjectFilter — An ObjectFilter (all set fields must match); `minBlockers?`: number — It can't be blocked except by this many or more creatures; `maxBlockers?`: number — It can't be blocked by more than this many creatures; `unless?`: ConditionDef — The effect doesn't apply while this condition holds. - `cantBlock` — Cannot block matching attackers unless the condition holds (CR 509.1b); with alone, can't block alone; with unlessPays, can't block without paying that cost (CR 509.1d). Fields: `to`: TargetDef — What it applies to (TargetDef); `attackers?`: ObjectFilter — Which attacking creatures are counted; `unless?`: ConditionDef — The effect doesn't apply while this condition holds; `alone?`: boolean — CR 506.5, 509.1b: "can't block alone" — can't be the only creature declared as a blocker this step (every defending player's blockers count); combine with no other field; `unlessPays?`: CostDef — CR 509.1c-d, 509.1f: a cost to block instead of a ban — "creatures can't block unless their controller pays {1} for each of those creatures" (Archangel of Tithes), "Enchanted creature can't block unless its controller pays {3}" (Oppressive Rays), with attackers "can't block creatures with power 3 or greater unless you pay {1}" (Hipparion): this cost (mana, genericAmount evaluated for this ability's controller, payLife) for each affected creature declared as a blocker (of a matching attacker). The defending player pays the total once the declaration is otherwise legal, or declares again; requirements don't oblige paying. Combine with attackers only; `perCreatureText?`: "those" — CR 509.1d: render the per-blocker payment as "for each of those creatures"; no rules difference. - `blockCapacity` — Additional creatures this blocker may block each combat, or any number (CR 509.1a). Fields: `to`: TargetDef — What it applies to (TargetDef); `additional`: number | "any" — How many additional creatures it can block (a number, or "any"). - `blockAsThough` — CR 509.1b, 702.28b, 702.9b: the affected creatures can block as though the attackers' shadow / landwalk weren't there, or as though they had shadow / reach; other blocking restrictions still apply. Fields: `to`: { of: "object" | "player" | "spell" | "ability" | "spellOrAbility" | "any"; slot?: string; mode?: "chosen" | "choose" | "all" | "self" | "random" | "host" | "triggering" | "created" | "convoked" | "linked" | "paired" | "top" | "affected" | "replaced" | "replacedSource" | "triggeringOther" | "about" | "thisWay" | "costPaid" | "attacked" | "grantor"; action?: "sacrificed" | "milled" | "destroyed" | "exiled" | "discarded" | "returned" | "putIntoLibrary" | "tapped" | "untapped" | "damaged" | "drawn" | "revealed" | "countersPlaced" | "countersRemoved" | "amassed" | "countered" | "phasedOut" | "searched" | "created"; among?: "triggering"; chooser?: any; random?: true; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; allZones?: boolean; position?: "top" | "bottom"; filter?: ObjectFilter; player?: any; playerOwns?: true; exceptPlayer?: any; playerFilter?: "opponent"; sameZoneOwner?: boolean; maxTotalManaValue?: ValueDef; maxTotalPower?: ValueDef; distinctBy?: "name" | "manaValue" | "controller" | "power"; equalBy?: "toughness" | "power" | "manaValue"; sharesType?: "card" | "permanent"; sharedBy?: "creatureType"; zones?: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[]; playerTarget?: PlayerTargetDef; digSubset?: "looked" | "picked" | "rest"; span?: number; targetCount?: number; targetsOnlySource?: boolean; permanents?: true; stackTargets?: object; spell?: object; ability?: object; min?: ValueDef; max?: ValueDef | "any"; differentFromEarlierTargets?: boolean; attacker?: "self" | "triggering"; label?: string } — The blockers; `attackers?`: ObjectFilter — Only when blocking these attackers ("can block Dragons as though it had reach"); `ignore?`: "shadow" | "landwalk" — Block as though the attackers didn't have this ("can block creatures with shadow as though they didn't have shadow"); `had?`: "shadow" | "reach" — Block as though the blocker had this ("can block creatures with shadow as though it had shadow"). - `ignoreLandwalk` — CR 702.14c, 509.1b: the affected creatures can be blocked as though they didn't have that landwalk ("Creatures with islandwalk can be blocked as though they didn't have islandwalk"); the ability stays. Fields: `to`: { of: "object" | "player" | "spell" | "ability" | "spellOrAbility" | "any"; slot?: string; mode?: "chosen" | "choose" | "all" | "self" | "random" | "host" | "triggering" | "created" | "convoked" | "linked" | "paired" | "top" | "affected" | "replaced" | "replacedSource" | "triggeringOther" | "about" | "thisWay" | "costPaid" | "attacked" | "grantor"; action?: "sacrificed" | "milled" | "destroyed" | "exiled" | "discarded" | "returned" | "putIntoLibrary" | "tapped" | "untapped" | "damaged" | "drawn" | "revealed" | "countersPlaced" | "countersRemoved" | "amassed" | "countered" | "phasedOut" | "searched" | "created"; among?: "triggering"; chooser?: any; random?: true; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; allZones?: boolean; position?: "top" | "bottom"; filter?: ObjectFilter; player?: any; playerOwns?: true; exceptPlayer?: any; playerFilter?: "opponent"; sameZoneOwner?: boolean; maxTotalManaValue?: ValueDef; maxTotalPower?: ValueDef; distinctBy?: "name" | "manaValue" | "controller" | "power"; equalBy?: "toughness" | "power" | "manaValue"; sharesType?: "card" | "permanent"; sharedBy?: "creatureType"; zones?: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[]; playerTarget?: PlayerTargetDef; digSubset?: "looked" | "picked" | "rest"; span?: number; targetCount?: number; targetsOnlySource?: boolean; permanents?: true; stackTargets?: object; spell?: object; ability?: object; min?: ValueDef; max?: ValueDef | "any"; differentFromEarlierTargets?: boolean; attacker?: "self" | "triggering"; label?: string } — The attacking creatures; `landType?`: string — The landwalk ignored ("Island" for islandwalk); every landwalk ability when omitted. - `cantAttack` — Cannot attack (alone when specified) unless the condition holds (CR 508.1c); with onlyAlone, can only attack alone; with unlessPays, can't attack without paying that cost (CR 508.1d). Fields: `to`: TargetDef — What it applies to (TargetDef); `unless?`: ConditionDef — The effect doesn't apply while this condition holds; `alone?`: boolean — Can't attack alone (it may attack together with others); `defending?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object | "itsOwner" — CR 508.1c: only attacks against these players are forbidden; itsOwner is each affected creature's own owner ("can't attack its owner"), fixed per creature; `planeswalkers?`: boolean — Also forbid attacking planeswalkers those players control; `onlyAlone?`: boolean — CR 508.1c: "can only attack alone" — can't attack while any other creature attacks; combine with no other field; `alreadyAttacked?`: boolean — CR 508.1c: "can't attack a player it has already attacked this turn" (Bloodthirster) — each affected creature can't attack a player it was declared attacking earlier this turn; planeswalker and battle attacks don't count. Combine with no other field; `perCreatureText?`: "those" — CR 508.1g-h: render the per-attacker payment as for each of those creatures; identical rules to the expanded wording; `unlessPays?`: CostDef — CR 508.1d, 508.1g-i: a cost to attack instead of a ban — "Creatures can't attack you unless their controller pays {2} for each creature they control that's attacking you" (Ghostly Prison, Propaganda; Sphere of Safety with planeswalkers and genericAmount "{X} …, where X is the number of enchantments you control"): this cost (mana, genericAmount evaluated for this ability's controller, payLife) for each affected creature attacking one of `defending` (and, with planeswalkers, a planeswalker they control; any defender without `defending`). The attacking player pays the total while declaring attackers, or redoes the declaration; requirements don't oblige paying. Combine with defending / planeswalkers only. - `attackWithDefender` — May attack as though it did not have defender; other restrictions apply (CR 702.3b, 609.4). Fields: `to`: TargetDef — What it applies to (TargetDef). - `attackAsHaste` — CR 302.6, 508.1a, 609.4: may attack as though it had haste; does not permit tap abilities while summoning sick. Fields: `to`: TargetDef — What it applies to (TargetDef). - `mustAttack` — Affected creatures attack each combat if able. Fields: `to`: TargetDef — What it applies to (TargetDef); `otherThan?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — CR 508.1d: and attack a player other than these players if able ("… and attack a player other than you if able"; goad's requirement, CR 701.15b, without goading). - `mustAttackWithCreature` — CR 508.1d: a player requirement — each `who` player attacks with at least one creature each combat if able (Seeker of Slaanesh; Trove of Temptation with defending you and planeswalkers). One requirement, maximised with the others within the restrictions; costs to attack never oblige paying. Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | { kind: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat"; span?: number; where?: ConditionDef; except?: any; most?: ValueDef; fewest?: ValueDef } — The players who must attack (relative to this ability's controller): eachOpponent for "Each opponent must attack …"; `defending?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — That creature attacks one of these players ("must attack you … with at least one creature"); `planeswalkers?`: boolean — Attacking a planeswalker one of `defending` controls also obeys it ("you or a planeswalker you control"). - `goaded` — CR 701.15b-c, 508.1d: continuously goaded by this static ability's controller; must attack each combat and a different player if able. Ends when the static stops applying. Fields: `to`: TargetDef — What it applies to (TargetDef). - `mustBlock` — Affected creatures block each combat if able. Fields: `to`: TargetDef — What it applies to (TargetDef). - `mustBeBlocked` — Affected attacking creatures must be blocked if able: the defending player assigns at least one legal blocker to each (CR 509.1c). Fields: `to`: TargetDef — What it applies to (TargetDef). - `lure` — CR 509.1c (Lure): every creature able to block an affected attacking creature must do so — one blocking requirement per able blocker, maximised with the others. Fields: `to`: TargetDef — What it applies to (TargetDef); `blockers?`: ObjectFilter — Only these creatures are required ("All Walls able to block ~ do so"); default every creature. - `cantActivate` — CR 602.1b, 606.3: prohibit all, non-mana, mana, or loyalty abilities, or only abilities with {T} in their costs (tap); nonManaNonLoyalty: "aren't mana abilities or loyalty abilities". Fields: `to`: TargetDef — What it applies to (TargetDef); `by?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — CR 602.5, 109.5: players forbidden to activate, independently of who controls the affected source; omitted restricts every player; `abilities?`: "all" | "nonMana" | "nonManaNonLoyalty" | "mana" | "loyalty" | "tap" — Which abilities can't be activated: all, nonMana, mana, loyalty, or {T} abilities. - `cantCrew` — CR 702.122a: affected creatures can't be tapped to crew Vehicles ("can't crew Vehicles"); saddling Mounts is unaffected. Fields: `to`: TargetDef — What it applies to (TargetDef). - `cantPayLife` — CR 118.3, 107.4f: life can't be paid as a cost for the stated spells or abilities, Phyrexian mana included. Fields: `who?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Players who can't pay life; omitted means every player; `spells?`: boolean — CR 118.3: can't pay life to cast spells (Karn's Sylex: "to cast spells or to activate abilities that aren't mana abilities"); `abilities?`: "all" | "nonMana" — CR 118.3: can't pay life to activate abilities; nonMana leaves mana abilities alone. - `cantBeTargeted` — CR 115.1, 115.1c: selected objects cannot be targeted by matching spells or abilities, including cards in graveyards. Fields: `to`: TargetDef — What it applies to (TargetDef); `by`: "spells" | "abilities" | "spellsOrAbilities" — Which stack objects can't target it: spells, abilities, or both; `from?`: ObjectFilter — Spell or ability source qualities; last known information applies (CR 113.7a, 608.2h); `controller?`: "you" | "opponent" | "any" | "notYou" — Stack controller relative to the restriction controller, independently of source control. - `cantTransform` — The affected permanents cannot transform, including by converting or a day/night change (CR 701.28). Fields: `to`: TargetDef — What it applies to (TargetDef). - `cantBeCountered` — CR 701.6, 101.2: matching spells or abilities cannot be countered. Fields: `to`: TargetDef — What it applies to (TargetDef). - `cantBeSacrificed` — CR 101.2, 701.21, 118.3: matching permanents cannot be sacrificed for effects or costs; they cannot be chosen to pay a sacrifice cost. Fields: `to`: TargetDef — What it applies to (TargetDef). - `cantGetCounters` — CR 122.1, 101.2: counters can't be put on these permanents / players ("Creatures you control can't have -1/-1 counters put on them", "You can't get poison counters", "Players can't get counters"): placements simply don't happen for them, after replacement effects and as a permanent enters, and costs that would put such counters can't be paid. Counters already there stay. Fields: `to?`: TargetDef — Permanents that can't have counters put on them; `who?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Players who can't get counters; `counter?`: string — Only this kind ("-1/-1", "+1/+1", "poison"); any kind when omitted. - `cantPrevent` — CR 615.12: damage cannot be prevented while this static is active — all damage, or only the damage `from` / `damageKind` narrow it to. Prevention side effects still occur and finite shields are not depleted. Fields: `from?`: ObjectFilter — CR 615.12: only damage dealt by sources matching this filter ("damage that would be dealt by this creature can't be prevented": { self: true }); `damageKind?`: "combat" — CR 510.2, 615.12: only combat damage ("combat damage that would be dealt by creatures you control can't be prevented"). - `damageAsThough` — CR 120.3, 609.4: damage to these recipients (all if omitted) has the results of wither/infect. Does not grant abilities or prevent damage. Fields: `keyword`: "wither" | "infect" — A plain keyword string ("Flying", "Haste" …) as in `keywords[]`; `to?`: TargetDef — What it applies to (TargetDef). - `cantCast` — CR 601.3, 101.2: these players cannot cast spells matching the filter. Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Which player(s) — a player selector (default `you`); `filter?`: ObjectFilter — Which objects (ObjectFilter; set fields AND together); `exceptFrom?`: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command" — CR 601.2a, 101.2: forbid only spells cast from anywhere other than this zone — "Your opponents can't cast spells from anywhere other than their hands" is exceptFrom: "hand" (Drannith Magistrate): no flashback, foretell, commanders from the command zone, top of library, adventures or cascade from exile. Playing lands isn't casting; `from?`: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[] — CR 601.2a, 101.2: forbid only spells cast from these zones — "Players can't cast spells from graveyards or libraries" (Grafdigger's Cage) is ["graveyard", "library"]; "You can't … cast spells from your hand" is ["hand"]. A card cast from exile is cast from exile. - `cantEnterBattlefield` — CR 101.2, 400.3: cards matching the filter in these zones can't enter the battlefield ("Creature cards in graveyards and libraries can't enter the battlefield", Grafdigger's Cage): an effect that would put one there does nothing to it, and such a land card can't be played. Spells cast from there enter from the stack, unaffected. Fields: `filter?`: ObjectFilter — The cards that can't enter, judged as they exist in their zone; `zones`: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[] — The zones they can't enter the battlefield from ("in graveyards and libraries"). - `abilityCostModifier` — Activated abilities of the affected objects cost a signed generic amount more/less (CR 602.2b, 601.2f). Fields: `to`: TargetDef — What it applies to (TargetDef); `amount`: ValueDef — How many / how much (integer or ValueDef). - `activationCostModifier` — CR 602.2b, 601.2f, 118.7 (Zirda): "Abilities you activate [that aren't mana abilities] cost {N} less to activate" — every activated ability these players activate, from any source and zone (cycling from a hand included). Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | { kind: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat"; span?: number; where?: ConditionDef; except?: any; most?: ValueDef; fewest?: ValueDef } — The players whose activations it changes (you); `firstOfPermanentType?`: string — Only that player's first activated ability from a permanent of this card type each turn. Mana abilities and earlier activations before this static entered also count; `amount`: number | { kind: "var"; name: string } | { kind: "count"; digSubset?: "looked" | "picked" | "rest"; of?: "object" | "player"; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; filter?: ObjectFilter; player?: any } | { kind: "doneThisWay"; of: "sacrificed" | "milled" | "destroyed" | "exiled" | "discarded" | "returned" | "putIntoLibrary" | "tapped" | "untapped" | "damaged" | "drawn" | "revealed" | "countersPlaced" | "countersRemoved" | "amassed" | "countered" | "phasedOut" | "searched" | "created"; filter?: ObjectFilter; distinctOwners?: boolean; by?: any } | { kind: "playerAggregate"; op: "max" | "min"; players?: any; value: ValueDef } | … (60 options) — Signed generic change: -2 = "cost {2} less to activate"; `nonMana?`: boolean — Only abilities that aren't mana abilities (CR 605.1a); `source?`: TargetDef — CR 602.2b, 601.2f: ability sources matching this selection, in its specified zone; evaluated relative to this static's source; `abilityKeyword?`: "equip" | "cycling" | "ninjutsu" | "boast" — CR 702.6, 702.29, 702.49, 702.142: only the indicated keyword's activations; cycling and ninjutsu apply in hand; `targets?`: TargetDef — CR 602.2b, 601.2c/f: apply once if any announced activation target matches; self and host refer to this static's source; `minMana?`: number — "This effect can't reduce the mana in that cost to less than one mana": this effect's reduction stops at this much mana in total; a cost already at or below it is unaffected. - `damageByToughness` — CR 510.1a: affected creatures assign combat damage equal to their toughness rather than power. Fields: `to`: TargetDef — What it applies to (TargetDef). - `assignDamageAsUnblocked` — CR 510.1c, 609.4: each affected attacking creature's controller may assign its entire combat damage as though unblocked; blockers still deal damage. Fields: `to`: TargetDef — What it applies to (TargetDef). - `crewPowerBonus` — CR 702.122: affected creatures crew Vehicles as though their power were this much greater ("This creature crews Vehicles as though its power were 2 greater"); the Pilot tokens add saddling. Fields: `to`: TargetDef — What it applies to (TargetDef); `amount`: ValueDef — How many / how much (integer or ValueDef); `saddle?`: boolean — Also counts when saddling Mounts (CR 702.172); `station?`: boolean — Also counts when stationing a Spacecraft (CR 702.184a: "…stations permanents as though its power were 2 greater"). - `crewWithToughness` — CR 702.122a: affected creatures crew Vehicles using their toughness rather than their power (Giant Ox, Interface Ace). Fields: `to`: TargetDef — What it applies to (TargetDef); `saddle?`: boolean — Also when saddling Mounts (CR 702.171a): "saddles Mounts and crews Vehicles using its toughness". - `activateAsHaste` — CR 302.6, 609.4, 702.10: activate tap/untap abilities as though these creatures had haste; no attack permission or actual haste. Fields: `to`: TargetDef — What it applies to (TargetDef). - `boastActivationLimit` — CR 702.142: affected creatures may activate each boast ability this many times per turn if they attacked. Use the static isYourTurn condition to limit it to its controller's turns. Fields: `to`: TargetDef — What it applies to (TargetDef); `times`: number — Total activations allowed per turn for each boast ability of an affected creature (2 to 9). - `loyaltyActivationLimit` — CR 606.3: "You may activate the loyalty abilities of planeswalkers you control twice each turn rather than only once" (Oath of Teferi): each affected planeswalker may have a loyalty ability activated this many times a turn. Fields: `to`: { of: "object" | "player" | "spell" | "ability" | "spellOrAbility" | "any"; slot?: string; mode?: "chosen" | "choose" | "all" | "self" | "random" | "host" | "triggering" | "created" | "convoked" | "linked" | "paired" | "top" | "affected" | "replaced" | "replacedSource" | "triggeringOther" | "about" | "thisWay" | "costPaid" | "attacked" | "grantor"; action?: "sacrificed" | "milled" | "destroyed" | "exiled" | "discarded" | "returned" | "putIntoLibrary" | "tapped" | "untapped" | "damaged" | "drawn" | "revealed" | "countersPlaced" | "countersRemoved" | "amassed" | "countered" | "phasedOut" | "searched" | "created"; among?: "triggering"; chooser?: any; random?: true; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; allZones?: boolean; position?: "top" | "bottom"; filter?: ObjectFilter; player?: any; playerOwns?: true; exceptPlayer?: any; playerFilter?: "opponent"; sameZoneOwner?: boolean; maxTotalManaValue?: ValueDef; maxTotalPower?: ValueDef; distinctBy?: "name" | "manaValue" | "controller" | "power"; equalBy?: "toughness" | "power" | "manaValue"; sharesType?: "card" | "permanent"; sharedBy?: "creatureType"; zones?: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[]; playerTarget?: PlayerTargetDef; digSubset?: "looked" | "picked" | "rest"; span?: number; targetCount?: number; targetsOnlySource?: boolean; permanents?: true; stackTargets?: object; spell?: object; ability?: object; min?: ValueDef; max?: ValueDef | "any"; differentFromEarlierTargets?: boolean; attacker?: "self" | "triggering"; label?: string } — The planeswalkers ("planeswalkers you control", self); `times`: number — Loyalty activations per turn per planeswalker ("twice each turn rather than only once"). - `activateAsInstant` — CR 606.3, 702.6a, 117.1a: "You may activate loyalty abilities of planeswalkers you control on any player's turn any time you could cast an instant" / "You may activate equip abilities any time you could cast an instant" — the source's controller may activate those abilities whenever they have priority; loyalty abilities stay once each turn per planeswalker. Fields: `abilities`: "loyalty" | "equip" — Which abilities: loyalty abilities (CR 606.3) or equip abilities (CR 702.6a); `to?`: TargetDef — The permanents whose abilities may be activated ("planeswalkers you control", self); default: permanents the source's controller controls; `anyPlayersTurn?`: boolean — Prints "on any player's turn" — instant timing already includes every turn. - `damageNotRemoved` — CR 514.2: "Damage isn't removed from this creature during cleanup steps" — the affected permanents keep their marked damage through cleanup. Fields: `to`: TargetDef — What it applies to (TargetDef). - `untapDuringOthersUntap` — CR 502.3, 613.11: untap affected permanents during each other player's untap step, relative to the source controller; not a triggered ability. Fields: `to`: TargetDef — What it applies to (TargetDef); `opponentsOnly?`: boolean — Only during each opponent's untap step ("during each opponent's untap step"). - `untapLimit` — CR 502.3: "players can't untap more than N [permanents] during their untap steps" (Static Orb, Winter Orb, Smoke). The active player chooses which N of the permanents that would untap do; the rest stay tapped. Condition the ability for "as long as ~ is untapped". Fields: `amount`: ValueDef — How many / how much (integer or ValueDef); `filter?`: ObjectFilter — Which permanents the limit counts ("more than one land"); default every permanent; `who?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Whose untap steps are limited; default every player's. - `attackLimit` — CR 508.1c: "No more than N creatures can attack [you] each combat" (Crawlspace; Silent Arbiter without defending) — a restriction on the whole declaration. Other players and permanents may still be attacked; requirements are obeyed as far as the limit allows (CR 508.1d). Fields: `amount`: ValueDef — How many / how much (integer or ValueDef); `defending?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Limit only the creatures attacking these players (attacks on their planeswalkers and battles don't count); default: every attacking creature. - `blockLimit` — CR 509.1b-c: no more than this many distinct creatures can block each combat, across all defending players. Blocking requirements obey this limit; a creature blocking multiple attackers counts once. Fields: `amount`: ValueDef — How many / how much (integer or ValueDef). - `costFloor` — Trinisphere: "each spell that would cost less than N mana to cast costs N mana to cast" — applied after every other cost change, the difference paid as generic mana. Fields: `amount`: ValueDef — How many / how much (integer or ValueDef); `filter?`: ObjectFilter — Which spells; default every spell; `who?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Whose spells; default every player's. - `suppressTriggers` — Torpor Orb, Hushbringer: "creatures entering [or dying] don't cause abilities to trigger" — the event still happens (counters, replacements apply); no ability of any object triggers on it. Fields: `events`: ("enters" | "dies")[] — Which events' triggers are suppressed; `filter?`: ObjectFilter — Which permanents; default creatures; `sources?`: ObjectFilter — CR 603.2: only abilities of objects matching this filter are kept from triggering ("abilities of permanents your opponents control", Elesh Norn, Mother of Machines); default every object's. - `optionalUntap` — CR 502.3: controller may leave each affected permanent tapped during their untap step. Fields: `to`: TargetDef — What it applies to (TargetDef). - `countersPersist` — CR 122.2, 400.7, 113.6: counters remain on this source as it changes zones, except into these destinations. Functions in every zone; does not place the retained counters again. Fields: `exceptZones`: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[] — Destinations the counters don't carry into. - `doesntUntap` — Affected permanents don't untap during their controller's untap step. Fields: `to`: TargetDef — What it applies to (TargetDef). - `cantUntap` — CR 701.26, 101.2: affected permanents can't become untapped at all ("Enchanted creature can't become untapped") — not in the untap step, not by effects or {Q} costs; doesntUntap skips only the untap step. Fields: `to`: TargetDef — What it applies to (TargetDef). - `triggersTwice` — CR 603.2d: triggered abilities of matching permanents trigger an additional time; restrict the cause to entering/leaving the battlefield, dying, casting/copying a spell, declaring attackers, dealing combat damage to a player, being dealt damage, a player drawing a card, or a face-down permanent being turned face up. Multiple instances add. Fields: `to`: TargetDef — What it applies to (TargetDef); `causedBy?`: { event: "enters" | "dies" | "castSpell" | "copiedSpell" | "attacks" | "dealsCombatDamageToPlayer" | "isDealtDamage" | "drawsCard" | "leaves" | "turnedFaceUp" | ("enters" | "dies" | "castSpell" | "copiedSpell" | "attacks" | "dealsCombatDamageToPlayer" | "isDealtDamage" | "drawsCard" | "leaves" | "turnedFaceUp")[]; filter?: ObjectFilter; by?: any } — What caused the event: an enters or dies event matching the filter. - `gainControl` — e.g. “you control ~”. Fields: `to`: TargetDef — What it applies to (TargetDef). - `costModifier` — Spells matching the filter cost {N} less/more; with filter self on a spell, that spell's own cost ("This spell costs {1} less to cast …"). Fields: `filter?`: ObjectFilter — Which objects (ObjectFilter; set fields AND together); `amount`: number | { kind: "var"; name: string } | { kind: "count"; digSubset?: "looked" | "picked" | "rest"; of?: "object" | "player"; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; filter?: ObjectFilter; player?: any } | { kind: "doneThisWay"; of: "sacrificed" | "milled" | "destroyed" | "exiled" | "discarded" | "returned" | "putIntoLibrary" | "tapped" | "untapped" | "damaged" | "drawn" | "revealed" | "countersPlaced" | "countersRemoved" | "amassed" | "countered" | "phasedOut" | "searched" | "created"; filter?: ObjectFilter; distinctOwners?: boolean; by?: any } | { kind: "playerAggregate"; op: "max" | "min"; players?: any; value: ValueDef } | … (60 options) — Signed generic cost change; negative values reduce the cost (CR 601.2f); `from?`: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[] — Cast only from one of these zones (CR 601.2a/f); `notFrom?`: ("battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command")[] — Exclude these casting origins, e.g. anywhere other than hand (CR 601.2a/f); `targets?`: TargetDef — Apply once when any announced target matches this group, relative to this ability's source (CR 601.2c/f); `perTarget?`: boolean — Scale by the spell's number of announced targets; repeated occurrences count separately (CR 601.2c/f, 115.3); `addedMana?`: string — Additional colored or colorless mana required, e.g. {B}; not a generic increase (CR 601.2f); `reduceMana?`: string — CR 118.7b-d: a colored or colorless reduction per unit, e.g. {U} or {W}{U}{B}{R}{G} ("cost {U} less to cast"); each symbol removes a matching symbol of the cost (or a hybrid symbol with that color), the excess reduces generic mana. Pair with amount 0; `coloredOnly?`: boolean — "This effect reduces only the amount of colored mana you pay": the part of reduceMana the cost has no matching symbol for is lost instead of reducing generic mana; `ifAdditionalCostPaid?`: boolean — CR 118.8, 601.2b/f (Defilers): only spells for which the optional additional cost granted by a spellsHave part of this same static ability was paid ("Those spells cost {G} less to cast if you paid life this way"); `addedCost?`: CostDef — CR 118.8, 601.2f-h: a non-mana cost each affected spell's caster also pays, once per spell ("Spells your opponents cast that target this creature cost an additional 3 life to cast": { payLife: 3 }, amount 0); `who?`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Players whose spells are modified; defaults to you; `firstEachTurn?`: boolean — Only the first spell matching this filter that player casts each turn (CR 601.2f); `perCount?`: { filter?: ObjectFilter; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command" } — Scale by a count of matching objects ("for each artifact you control"); `perValue?`: ValueDef — Scale by a value ("for each creature that died this turn", "for each basic land type among lands you control"). - `spellsHave` — Spells these players cast matching the filter have the keyword ability ("Creature spells you cast have convoke"; firstEachTurn: "The first spell you cast each turn has cascade"; an alternativeCost grant: "You may pay {0} rather than pay the mana cost for Zombie creature spells you cast", its values read for the spell — affected manaValue is "its mana value"). Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Which player(s) — a player selector (default `you`); `filter?`: ObjectFilter — Which objects (ObjectFilter; set fields AND together); `keywordAbility`: KeywordAbilityDef — A parametrised keyword ability (KeywordAbilityDef: `{ "keyword": "ward", "cost": { … } }`); `firstEachTurn?`: boolean — The first spell you cast each turn; with a filter or from, the first spell you cast each turn that matches them ("The first spell you cast each turn that mana from a Treasure was spent to cast has cascade", Rain of Riches); `from?`: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command" — CR 601.2a: only spells cast from this zone, including while casting and on the stack; `oncePerTurn?`: boolean — CR 118.9: with an alternativeCost grant ("Once each turn, you may pay {0} rather than pay the mana cost for a spell you cast …"), one spell each turn may be cast with it, per source ability; condition the static on isYourTurn for "once during each of your turns". - `revealFirstDraw` — CR 701.20a: the controller reveals the first card they draw each turn as they draw it (Primitive Etchings, Inquisitor Eisenhorn); revealedFirstDraw triggers read the revealed card. Fields: `optional?`: boolean — "You may reveal the first card you draw each turn as you draw it" (CR 701.20a): the controller decides as the card is drawn; without it the reveal is mandatory ("Reveal the first card you draw each turn"). - `playerRule` — A rule applying to players: "You have hexproof", "You have no maximum hand size", "Your opponents can't gain life". Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | { kind: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat"; span?: number; where?: ConditionDef; except?: any; most?: ValueDef; fewest?: ValueDef } — Which players the rule applies to (you / eachOpponent / eachPlayer); `rule`: "hexproof" | "shroud" | "noMaxHandSize" | "maxHandSize" | "maxHandSizeModifier" | "ignoreLegendRule" | "cantGainLife" | "cantLoseLife" | "cantLoseGame" | "cantWinGame" | "cantSearchLibraries" | "cantSearchOwnLibrary" | "cantDrawCards" | "cantDrawExtraCards" | "additionalLands" | "additionalGraveyardLands" | "cantPlayLands" | "oneSpellPerTurn" | "castAsFlash" | "castWithoutPaying" | "playFromGraveyard" | "playFromLibrary" | "castFromExile" | "topCardRevealed" | "lookAtTopCard" | "handsRevealed" | "skipUpkeep" | "skipUntap" | "lifeCantChange" | "cantCastSpells" | "castOnlyAsSorcery" | "playLinkedExile" | "castLinkedExile" | "additionalVotes" | "cantLoseForZeroLife" | "manaAsAnyColor" | "manaAsAnyType" | "cantAttack" — CR 402.2, 514.1, 613.11: maxHandSize sets a timestamp-ordered limit using amount. CR 704.5a: cantLoseForZeroLife blocks only the loss for 0 or less life. CR 101.2, 701.23: cantSearchOwnLibrary — spells and abilities these players control can't cause them to search their own library (others' effects still can; a mandatory search still shuffles). CR 101.2, 305.2: cantPlayLands overrides all land-play permissions. castWithoutPaying: "You may cast spells from your hand without paying their mana costs" (Omniscience) — matching spells cast from `from` (any zone they may be cast from when omitted) have an alternative cost of no mana; additional costs are paid and X is 0 (CR 118.9, 107.3b). playLinkedExile / castLinkedExile: play / cast cards linked to ~ (exiled with it, or moved to the command zone by it) from where they lie (CR 601.3). manaAsAnyColor / manaAsAnyType: these players may spend mana as though it were mana of any color / any type to cast spells matching the filter (CR 609.4b). topCardRevealed: "play with the top card of your library revealed" — every player sees it; lookAtTopCard: "you may look at the top card of your library any time" — only that player sees it (pair it with playFromLibrary for "… you may cast it"). handsRevealed: "players play with their hands revealed" (Revelation) / "your opponents play with their hands revealed" (Telepathy) — the affected players' hands are public (CR 400.2, 701.20a; no rule outcome changes). castOnlyAsSorcery: "each opponent can cast spells only any time they could cast a sorcery" — only during their own main phase with an empty stack and nothing resolving, overriding flash and castAsFlash permissions; abilities and land plays are unaffected (CR 307.1, 608.2g); `amount?`: ValueDef — For maxHandSize: the size to set (CR 402.2, 613.11). For maxHandSizeModifier / additionalLands: the change (e.g. -2 / 1). For additionalVotes: optional extra votes while voting (CR 701.38); `filter?`: ObjectFilter — For castAsFlash / playFromGraveyard / playFromLibrary / castFromExile / playLinkedExile / castLinkedExile / manaAsAnyColor / manaAsAnyType: matching cards with normal costs and timing (CR 305.1, 401.5, 601.3, 702.8). Self filters function in their permitted zone (CR 113.6m). For ignoreLegendRule: exempt permanents (CR 704.5j). cantPlayLands prohibits land plays (CR 305.2b); `extraCost?`: CostDef — For castAsFlash: the additional cost of using the permission — "You may cast this spell as though it had flash if you pay {2} more to cast it" (CR 601.2f). Charged only when the spell is cast at a time it could not otherwise be cast; a permission without extraCost makes the surcharge moot. For playFromGraveyard / playFromLibrary: an additional cost of each spell cast using the permission — "You may cast this card from your graveyard by discarding a card in addition to paying its other costs" / "You may cast spells from the top of your library by sacrificing a nonland permanent in addition to paying their other costs" (CR 601.2b, 601.2f-h, 118.8); never charged for a land play or a cast another permission allows; `alternative?`: "bestow" | "blitz" | "dash" | "mutate" | "sneak" | "warp" — For playFromGraveyard: matching cards may be cast from the graveyard only with this alternative-cost keyword ability — "You may cast this card from your graveyard using its blitz ability" (CR 118.9, 601.2b, 601.2f). Neither the mana cost nor another alternative cost may be paid under it, and lands can't be played with it; `genericDiscount?`: number — Reduce the generic cost by this much only when this graveyard casting permission is used; `landEntersTapped?`: boolean — A land played using this graveyard permission enters tapped; `spellEnters?`: { tapped?: boolean; counter?: string; amount?: number; additional?: boolean; filter?: ObjectFilter; haste?: boolean } — For playFromGraveyard / playFromLibrary / castLinkedExile: "If you cast a spell this way, that creature enters with a finality counter on it / that artifact enters tapped" — a replacement effect on the permanent a spell cast using this permission becomes (CR 614.1c, 614.12, 400.7); `from?`: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command" — For castWithoutPaying: the zone the spells are cast from ("from your hand"); omitted, any zone they may be cast from (CR 601.2a). For cantPlayLands: only land cards played from this zone ("Your opponents can't play land cards from graveyards"; CR 305.2); `flash?`: boolean — For castWithoutPaying: spells cast without paying their mana costs this way may be cast as though they had flash (Aluren; CR 702.8, 601.3); `cleanupSacrifice?`: boolean — For a self castAsFlash permission: "If you cast it any time a sorcery couldn't have been cast, the controller of the permanent it becomes sacrifices it at the beginning of the next cleanup step" (Armor of Thorns; CR 307.1, 514.3a, 603.7) — whatever allowed the cast at that time; `payLife?`: ValueDef — For playLinkedExile / castLinkedExile / playFromLibrary / castFromExile: spells cast under this permission are cast by paying this much life rather than their mana cost (CR 118.9) — "If you cast a spell this way, pay life equal to its mana value rather than pay its mana cost" is { kind: "affected", property: "manaValue" } (Valgavoth, Terror Eater; Bolas's Citadel). A mandatory alternative cost: the mana cost can't be paid instead, additional costs (kicker, casualty) are still paid, and lands played this way cost nothing; `free?`: boolean — For playFromLibrary (CR 118.9, 601.2b): spells cast under this permission are cast without paying their mana cost — a mandatory free alternative cost ("Once during each of your turns, you may cast a spell from your hand or the top of your library without paying its mana cost", One with the Multiverse). Additional costs are still paid and X is 0 (CR 107.3b); `castOnly?`: boolean — For playFromGraveyard: spells only — "you may cast … from your graveyard" never lets a land be played (CR 305.1, 601.3); `oncePerTurn?`: boolean | "eachTurn" — For playFromGraveyard / playFromLibrary: "Once during each of your turns, you may cast …" (Lurrus, Karador) — only during the affected player's own turns, one spell per turn per source object (CR 400.7); "eachTurn" is "Once each turn, you may cast …" (Assemble the Players) — on any player's turn. For playLinkedExile / castLinkedExile: one land or one spell each turn per player (Share the Spoils ruling). A spell cast under another permission (flashback, escape, an unlimited permission) doesn't use it, and it never permits a land play (CR 601.3); `ownTurnOnly?`: boolean — CR 500.1, 601.3: "During each player's turn, that player may …" (Share the Spoils) — the permission works only during the affected player's own turn, and never during another's. "During your turn" is the static's isYourTurn condition instead; `anyMana?`: "color" | "type" — CR 609.4b: spells cast under this permission may spend mana as though it were mana of any color ("and they may spend mana as though it were mana of any color to cast that spell", Share the Spoils) or any type ("mana of any type can be spent to cast those spells", Tinybones). For castFromExile / playLinkedExile / castLinkedExile; `whenUsed?`: EffectDef[] — CR 603.12: "When they do, …" — a reflexive trigger each time the affected player plays a land or casts a spell under this linked-exile permission (Share the Spoils); the effects read that player as you; `castTargetFilter?`: ObjectFilter — CR 601.3e, 601.2e: a self castAsFlash permission checked against announced targets; at least one must match. Normal sorcery timing remains available; `graveyardReplacement?`: "exile" — CR 614.1a, 400.7g: exile a spell cast using this graveyard permission if it would enter a graveyard from the stack ("If a spell cast this way would be put into your graveyard, exile it instead"); requires playFromGraveyard and castOnly. - `playerProtection` — CR 702.16b–e, 702.16j: "You have protection from …" — these players can't be targeted by matching spells or abilities from matching sources, can't be enchanted by matching Auras, and damage from matching sources is prevented. Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Which player(s) — a player selector (default `you`); `from`: { filter?: ObjectFilter; colors?: string[]; types?: string[]; subtypes?: string[]; everything?: boolean; allColors?: boolean; ownColors?: boolean; colorsAmong?: ObjectFilter; player?: any; fixedPlayers?: string[]; doesntRemove?: ObjectFilter; colorsNotInCommanderIdentity?: boolean; monocolored?: boolean; multicolored?: boolean; colorless?: boolean; chosenColor?: boolean | string; chosenType?: boolean | string } — The quality; filters read from the source's controller ("protection from each of your opponents" = controller: opponent; "the chosen card name" = chosenName). - `controlWhileSearching` — CR 722.2, 722.5, 701.23 (Opposition Agent): "You control your opponents while they're searching their libraries" — the source's controller makes the choices of each search these players make of their own library (which cards they find, within the instruction; a search for a stated quality may find nothing, CR 701.23b). With several such sources, the most recently entered one applies (CR 722.1a). Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | { kind: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat"; span?: number; where?: ConditionDef; except?: any; most?: ValueDef; fewest?: ValueDef } — The players controlled while they search their own libraries (eachOpponent). - `shareAttachments` — Equipment and Auras attached to the `to` permanents are treated as if they were also attached to the `with` permanents (default: the source itself): their "equipped / enchanted creature …" statics, host-mode effects and host filters apply to both (CR 301.5, 303.4). Custom-card primitive. Fields: `to`: TargetDef — What it applies to (TargetDef); `with?`: TargetDef — What it is shared or compared with. - `spendManaAsAny` — CR 609.4b, 106.7, 118.14: spend mana as any color/type; omit both filters for all costs. The permission never removes spending restrictions. Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Which player(s) — a player selector (default `you`); `mana`: "color" | "type" — Any color still requires colorless mana for {C}; any type permits any mana for {C}; `spells?`: ObjectFilter — Matching spells' costs, including additional mana costs; `abilities?`: ObjectFilter — Sources of activated abilities whose mana costs are covered. - `retainMana` — CR 106.4, 500.4, 613.11: this player's unspent mana does not empty as steps and phases end. Fields: `who`: "you" | "controller" | "abilityController" | "sourceController" | "owner" | "eachOpponent" | "eachPlayer" | "target" | "triggeringPlayer" | "defendingPlayer" | "attackingPlayer" | "activePlayer" | "replacedPlayer" | "damageSourceController" | "causeController" | "affectedController" | "affectedOwner" | "triggeringController" | "triggeringOwner" | "triggeringOtherController" | "triggeringOtherOwner" | "current" | "previousPlayer" | "mostLife" | "leastLife" | "mostCardsInHand" | "fewestCardsInHand" | "enchantedPlayer" | "yourTeam" | "chosenPlayer" | "playerToYourLeft" | "playerToYourRight" | "attackedPlayers" | "attackingOpponents" | "attackedBySourceThisTurn" | "attackedBySourceLastCombat" | object — Which player(s) — a player selector (default `you`); `colors?`: string[] — Mana colors to retain; omitted means all types. Spending restrictions are preserved. ### Stock examples - `grantKeyword` — Quoted Unblockability Study: “” → `{"type":"grantKeyword","to":{"of":"object","mode":"self"},"keyword":"Can't be blocked"}` - `removeKeyword` — Hammer Witness: “Equipped creature gets +10/+10 and loses flying.” → `{"type":"removeKeyword","to":{"of":"object","mode":"host"},"keyword":"Flying"}` - `cantHaveKeyword` — Hexproof Denial: “” → `{"type":"cantHaveKeyword","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"controller":"opponent"}},"keyword":"Hexproof"}` - `loseAllAbilities` — Graveyard Silence Study: “” → `{"type":"loseAllAbilities","to":{"of":"object","mode":"all","zone":"graveyard"}}` - `grantAbility` — Mana Boots: “Equipped creature has "{T}: Add {G}." Equip {1}.” → `{"type":"grantAbility","to":{"of":"object","mode":"host"},"ability":{"kind":"activated","cost":{"tapSelf":true},"effects":[{"effect":"addMana","who":"you","mana":"{G}"}]}}` - `grantKeywordAbility` — Hand Miracle Study: “” → `{"type":"grantKeywordAbility","to":{"of":"object","mode":"all","zone":"hand","filter":{"anyTypes":["Instant","Sorcery"],"owner":"you"}},"keywordAbility":{"keyword":"miracle","cost":{"mana":"{0}"}}}` - `gainAbilitiesOf` — Necrotic Ooze: “As long as this creature is on the battlefield, it has all activated abilities of all creature cards in all graveyards.” → `{"type":"gainAbilitiesOf","to":{"of":"object","mode":"self"},"from":{"of":"object","mode":"all","zone":"graveyard","filter":{"types":["Creature"]}},"kinds":["activated"]}` - `modifyPT` — Iter93 Blade: “” → `{"type":"modifyPT","to":{"of":"object","mode":"host"},"power":1,"toughness":1}` - `setPT` — Uniformity: “Each creature has base power and toughness 1/1.” → `{"type":"setPT","to":{"of":"object","mode":"all","filter":{"types":["Creature"]}},"power":1,"toughness":1}` - `addTypes` — Living Plane: “All lands are 1/1 creatures that are still lands.” → `{"type":"addTypes","to":{"of":"object","mode":"all","filter":{"types":["Land"]}},"types":["Creature"]}` - `setTypes` — Island Witness: “Enchanted land is an Island.” → `{"type":"setTypes","to":{"of":"object","mode":"host"},"subtypeKind":"basicLandType","subtypes":["Island"]}` - `removeTypes` — Aeve, Progenitor Ooze: “Aeve isn't legendary if it's a token.” → `{"type":"removeTypes","to":{"of":"object","mode":"self"},"supertypes":["Legendary"]}` - `setColors` — Verdant Hue: “Green creatures are blue.” → `{"type":"setColors","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"colors":["G"]}},"colors":["U"]}` - `changeColorWord` — Colorshift: “Enchant permanent. As Colorshift enters, choose a color word and a second color. Enchanted permanent's text is changed by replacing the first color word with the second.” → `{"type":"changeColorWord","to":{"of":"object","mode":"host"},"from":"chosen:from","toColor":"chosen:to"}` - `evasion` — Solitary Stalker: “” → `{"type":"evasion","to":{"of":"object","mode":"self"},"maxBlockers":1}` - `cantBlock` — Restricted Rat Study: “” → `{"type":"cantBlock","to":{"of":"object","mode":"self"}}` - `blockCapacity` — Multiple Blocker Study: “” → `{"type":"blockCapacity","to":{"of":"object","mode":"self"},"additional":1}` - `blockAsThough` — Dragon Hunter: “This creature can block Dragons as though it had reach.” → `{"type":"blockAsThough","to":{"of":"object","mode":"self"},"attackers":{"subtypes":["Dragon"]},"had":"reach"}` - `ignoreLandwalk` — Undertow: “Creatures with islandwalk can be blocked as though they didn't have islandwalk.” → `{"type":"ignoreLandwalk","to":{"of":"object","mode":"all","filter":{"types":["Creature"]}},"landType":"Island"}` - `cantAttack` — Enchantment Condition Study: “” → `{"type":"cantAttack","to":{"of":"object","mode":"self"}}` - `attackWithDefender` — Walking Wall: “” → `{"type":"attackWithDefender","to":{"of":"object","mode":"self"}}` - `attackAsHaste` — Instilled Witness: “This creature can attack as though it had haste.” → `{"type":"attackAsHaste","to":{"of":"object","mode":"self"}}` - `mustAttack` — Fumiko the Lowblood: “Creatures your opponents control attack each combat if able.” → `{"type":"mustAttack","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"controller":"opponent"}}}` - `goaded` — Blade Witness: “Equipped creature gets +2/+0 and is goaded.” → `{"type":"goaded","to":{"of":"object","mode":"host"}}` - `mustBeBlocked` — Taunting Brute: “Taunting Brute must be blocked if able.” → `{"type":"mustBeBlocked","to":{"of":"object","mode":"self"}}` - `lure` — Lure Study: “” → `{"type":"lure","to":{"of":"object","mode":"self"}}` - `cantActivate` — Tap Ban Study: “” → `{"type":"cantActivate","to":{"of":"object","mode":"all","filter":{"controller":"opponent"}},"abilities":"tap"}` - `cantCrew` — Intercessor's Arrest: “Enchanted permanent can't attack, block, or crew Vehicles. Its activated abilities can't be activated unless they're mana abilities.” → `{"type":"cantCrew","to":{"of":"object","mode":"host"}}` - `cantBeTargeted` — Dense Foliage Witness: “Creatures can't be the targets of spells.” → `{"type":"cantBeTargeted","to":{"of":"object","mode":"all","filter":{"types":["Creature"]}},"by":"spells"}` - `cantBeCountered` — Uncounterable Witness: “Spells and abilities can't be countered.” → `{"type":"cantBeCountered","to":{"of":"spellOrAbility","mode":"all"}}` - `cantBeSacrificed` — Protected Saga Study: “” → `{"type":"cantBeSacrificed","to":{"of":"object","mode":"self"}}` - `cantGetCounters` — Tatterkite: “This creature can't have counters put on it.” → `{"type":"cantGetCounters","to":{"of":"object","mode":"self"}}` - `damageAsThough` — Phyrexian Unlife: “As long as you have 0 or less life, all damage is dealt to you as though its source had infect.” → `{"type":"damageAsThough","keyword":"infect","to":{"of":"player","mode":"all","player":"you"}}` - `cantCast` — Self Casting Ban Study: “” → `{"type":"cantCast","who":"you"}` - `abilityCostModifier` — Creature Ability Discount: “Activated abilities of artifacts you control cost {X} less to activate, where X is the number of creatures you control.” → `{"type":"abilityCostModifier","to":{"of":"object","mode":"all","filter":{"types":["Artifact"],"controller":"you"}},"amount":{"kind":"math","op":"*","a":-1,"b":{"kind":"count","filter":{"types":["Creature"],"controller":"you"}}}}` - `assignDamageAsUnblocked` — Siege Behemoth: “As long as this creature is attacking, for each creature you control, you may have that creature assign its combat damage as though it weren't blocked.” → `{"type":"assignDamageAsUnblocked","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"controller":"you"}}}` - `crewPowerBonus` — Stoic Star-Captain: “Each creature you control crews Vehicles and stations permanents as though its power were 2 greater.” → `{"type":"crewPowerBonus","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"controller":"you"}},"amount":2,"station":true}` - `crewWithToughness` — Giant Ox: “This creature crews Vehicles using its toughness rather than its power.” → `{"type":"crewWithToughness","to":{"of":"object","mode":"self"}}` - `activateAsHaste` — Immediate Training: “You may activate abilities of creatures you control as though those creatures had haste.” → `{"type":"activateAsHaste","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"controller":"you"}}}` - `loyaltyActivationLimit` — Oath of Teferi: “You may activate the loyalty abilities of planeswalkers you control twice each turn rather than only once.” → `{"type":"loyaltyActivationLimit","to":{"of":"object","mode":"all","filter":{"types":["Planeswalker"],"controller":"you"}},"times":2}` - `activateAsInstant` — Instant Loyalty Witness: “You may activate loyalty abilities of planeswalkers you control on any player's turn any time you could cast an instant.” → `{"type":"activateAsInstant","abilities":"loyalty","to":{"of":"object","mode":"all","filter":{"types":["Planeswalker"],"controller":"you"}},"anyPlayersTurn":true}` - `damageNotRemoved` — Uthgardt Fury: “Damage isn't removed from creatures your opponents control during cleanup steps.” → `{"type":"damageNotRemoved","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"controller":"opponent"}}}` - `untapDuringOthersUntap` — Otherturn Sentinel: “Untap this creature during each other player's untap step.” → `{"type":"untapDuringOthersUntap","to":{"of":"object","mode":"self"}}` - `optionalUntap` — Drowsy Relic: “You may choose not to untap Drowsy Relic during your untap step.” → `{"type":"optionalUntap","to":{"of":"object","mode":"self"}}` - `doesntUntap` — Meekstone: “Creatures with power 3 or greater don't untap during their controllers' untap steps.” → `{"type":"doesntUntap","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"minPower":3}}}` - `cantUntap` — Frozen in Ice: “Enchanted creature loses all abilities and can't become untapped.” → `{"type":"cantUntap","to":{"of":"object","mode":"host"}}` - `triggersTwice` — Party Trigger Doubler: “If a triggered ability of a permanent you control triggers, it triggers an additional time.” → `{"type":"triggersTwice","to":{"of":"object","mode":"all","filter":{"controller":"you"}}}` - `gainControl` — Become the Pilot: “You control enchanted creature.” → `{"type":"gainControl","to":{"of":"object","mode":"host"}}` - `costModifier` — Thalia, Guardian of Thraben: “Noncreature spells cost {1} more to cast.” → `{"type":"costModifier","filter":{"notTypes":["Creature"]},"amount":1,"who":"eachPlayer"}` - `spellsHave` — Sami, Wildcat Captain: “Spells you cast have affinity for artifacts.” → `{"type":"spellsHave","who":"you","keywordAbility":{"keyword":"affinity","filter":{"types":["Artifact"]}}}` - `playerRule` — Crucible of Worlds: “” → `{"type":"playerRule","who":"you","rule":"playFromGraveyard","filter":{"types":["Land"]}}`