# Drawstep AI pack (Magic) — part 6 of 15: Effects (3 of 3) > Every one-shot effect with all its fields. Pack index: https://drawstep.xyz/wiki/mtg/pack.md · previous: https://drawstep.xyz/wiki/mtg/pack/effects-2.md · next: https://drawstep.xyz/wiki/mtg/pack/statics-replacements-1.md · everything in one document: https://drawstep.xyz/wiki/drawstep-mtg-ai-pack.md. Generated from Drawstep's card schema; field names and discriminators are exact. - `putSticker` — Put a sticker on the target: choose an unused sticker from your sheets and pay its ticket cost. 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`); `target?`: TargetDef — What it acts on (TargetDef); `kinds?`: ("name" | "art" | "ability" | "pt")[] — Which sticker kinds may be chosen: name, art, ability, pt; `amount?`: ValueDef — How many / how much (integer or ValueDef). - `combineAugment` — Combine this augment card with target host. Fields: `target?`: TargetDef — What it acts on (TargetDef). - `empower` — Empower N: put N loyalty counters on a token you control with that name, creating it first if you control none. 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`); `tokenName`: string — Name of the token to empower (created first if you control none); `token`: { name: string; supertypes?: string[]; types?: string[]; subtypes?: string[]; colors?: string[]; manaCost?: string; power?: ValueDef; toughness?: ValueDef; keywords?: string[]; abilities?: AbilityDef[]; abilitiesInFollowingSentence?: boolean; keywordAbilities?: KeywordAbilityDef[]; tokenDefId?: string; withCounters?: object } — The complete inline token spec (TokenSpec: name, types, subtypes, colors, power, toughness, keywords, abilities …); `amount`: ValueDef — How many / how much (integer or ValueDef). - `timeTravel` — Time travel: add or remove a time counter on each suspended card you own and each permanent you control with a time counter. 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`). - `recruit` — Recruit: draw, then discard; if a nonland card was discarded, create a 1/1 white Human Soldier token. 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`). - `assimilate` — Assimilate: the creature card enters under your control with a +1/+1 counter as a Borg artifact creature with no other creature types. Fields: `target`: TargetDef — What it acts on (TargetDef). - `fateseal` — Fateseal N: look at the top N cards of an opponent's library and put any number of them on the bottom. Fields: `amount`: ValueDef — How many / how much (integer or ValueDef); `target?`: TargetDef — What it acts on (TargetDef). - `manifest` — Manifest the specified number of cards face down as 2/2 creatures. 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?`: "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 701.40, 110.2: manifest from this single player's library under who's control; omitted uses who's library; `amount?`: ValueDef — How many / how much (integer or ValueDef); `fromZone?`: "library" | "hand" — CR 701.40: library top by default; hand cards are chosen privately by the manifesting player. - `turnFaceUp` — e.g. “turn ~ face up”. Fields: `target?`: TargetDef — What it acts on (TargetDef). - `turnFaceDown` — CR 708.2a: turn a face-up permanent face down — the same object, now a 2/2 face-down creature; it turns face up again only through morph / megamorph / disguise. Double-faced permanents can't be turned face down (CR 712). Fields: `target?`: TargetDef — The permanents turned face down (default: the source); `as?`: { types: string[]; subtypes?: string[] } — CR 708.2: the face-down characteristics the effect lists ("It's a 2/2 Cyberman artifact creature"); always 2/2, nameless, textless, without mana cost. - `investigate` — Investigate: create a Clue token ("{2}, Sacrifice this artifact: Draw a card."). 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`); `amount?`: ValueDef — How many / how much (integer or ValueDef). - `exileUntilSourceLeaves` — e.g. “exile target creature until ~ leaves the battlefield”. Fields: `target`: TargetDef — What it acts on (TargetDef). - `flicker` — e.g. “exile target creature, then return that card to the battlefield under its owner's control”. Fields: `target`: TargetDef — What it acts on (TargetDef); `delayed?`: boolean — Return it at the beginning of the next end step instead of immediately. - `retarget` — CR 115.7: change existing targets to legal targets, retaining count and division. single changes one target; to fixes the new recipient. Fields: `target`: TargetDef — What it acts on (TargetDef); `to?`: TargetDef — What it applies to (TargetDef); `single?`: boolean — Change only one of the targets; `optional?`: boolean — "You may": the player chooses whether to do it; `newTargets?`: boolean — CR 115.7d: "you may choose new targets for …" — each target may be kept (even if illegal) or changed to a new legal target; the final set must be legal together. - `copyAbility` — CR 707.10: copy an activated or triggered ability and its choices; optionally choose new targets. Fields: `target`: TargetDef — What it acts on (TargetDef); `amount?`: ValueDef — How many copies ("copy … twice"); default one; `newTargets?`: boolean — The copy may have new targets chosen for it. - `copySpell` — Copy target spell (default: the source spell itself); `amount` copies (storm). Fields: `target?`: TargetDef — What it acts on (TargetDef); `amount?`: ValueDef — How many / how much (integer or ValueDef); `controller?`: "chosenOpponent" | "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 — Who controls the copy (CR 707.10): chosenOpponent prompts the controller for an opponent as it resolves; any player selector names the copier directly (the Chain cycle); `newTargets?`: boolean — CR 707.10: false retains targets; default true preserves legacy copies; `except?`: { keywords?: string[]; keywordAbilities?: KeywordAbilityDef[]; abilities?: any[]; addTypes?: string[]; addSubtypes?: string[]; setTypes?: string[]; setSubtypes?: string[]; removeSubtypes?: string[]; colors?: string[]; addColors?: string[]; power?: ValueDef; toughness?: ValueDef; loyalty?: ValueDef; notLegendary?: boolean; legendary?: boolean; name?: string; noManaCost?: boolean } — CR 707.9: exceptions the copies are made with ("the copy isn't legendary and has starting loyalty X"); a permanent spell's copy becomes a token with them; `copyTargets?`: TargetDef — CR 707.10d-e: one copy for each object this selects (amount and newTargets don't apply), every target of that copy changed to that object — "copy that spell for each other creature you control that the spell could target. Each copy targets a different one of those creatures", "The copy targets the chosen creature". An object that isn't a legal target for each instance of the word target gets no copy. - `copyCard` — Cast a copy of each selected card. Set optional and payManaCost for "you may cast the copies" at normal cost. For a group, its controller chooses the casting order during resolution (CR 707.12). Fields: `target?`: TargetDef — What it acts on (TargetDef); `chosenName?`: boolean | string — Create the named card copy using the earlier choice (CR 707.13); `payManaCost?`: boolean — Pay the copy's mana cost; otherwise waived (CR 707.12-13). With a target: "You may cast the copy" (paying its costs) rather than "… without paying its mana cost"; `optional?`: boolean — "You may": the player chooses whether to do it. - `link` — Link the target to the source (see target mode linked / filter linkedToSource). Fields: `target`: TargetDef — What it acts on (TargetDef). - `ripple` — Ripple N: reveal the top N; cast any with the same name free; rest to the bottom. Fields: `amount`: ValueDef — How many / how much (integer or ValueDef). - `encode` — Cipher: exile the source spell card encoded on the target creature. Fields: `target`: TargetDef — What it acts on (TargetDef). - `reflexiveTrigger` — When you do (CR 603.12): a separate triggered ability about the objects just acted on; choose its targets on the stack. Fields: `about?`: TargetDef — Optional fixed objects this trigger refers to; omitted for a payment-only trigger; `effects`: EffectDef[] — The effects, resolved in order (EffectDef[]); `modes?`: ({ label: string; effects: EffectDef[]; weight?: number; cost?: CostDef })[] — CR 603.12, 700.2a: "When you do, choose one —": the reflexive ability's modes, chosen as it goes on the stack; effects is then empty; `chooseMin?`: number — Minimum number of modes chosen (default 1; 0 for "choose any number"); `chooseMax?`: ValueDef — CR 700.2a, 107.3: maximum modes of the reflexive ability; `condition?`: ConditionDef — CR 603.12: it triggers only if this holds as the preceding action finishes ("When you reveal one or more nonland cards this way, …"). - `delayedTrigger` — Set up a delayed triggered ability (CR 603.7): "at the beginning of the next end step, …", "when that creature dies this turn, …", "whenever that creature is dealt damage this turn, …". Fields: `stepPlayer?`: "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 603.7d: snapshot whose next step to wait for on creation, independently of the ability controller (for example owner for Phytotitan); `nextTurn?`: boolean — Wait for a subsequent turn (CR 603.7); combined with trigger.by: you, the specified step on your next turn; `trigger`: TriggerDef — The TriggerDef: which event, whose, which object; `effects`: EffectDef[] — The effects, resolved in order (EffectDef[]); `about?`: TargetDef — The object(s) or player the delayed trigger is about, fixed once as it is created (CR 603.7c): mode chosen = a target of this spell / ability ("Choose target creature. Whenever that creature …"), affected = what the previous effect applied to ("~ deals 3 damage to target creature. When that creature dies this turn, …"). The ability then triggers only for those objects (a new object after a zone change no longer counts, CR 400.7; dies / leaves look back). Inside `effects`, mode about / triggering refer to it; `duration?`: Duration — How long it waits: endOfTurn = "this turn", endOfCombat = "this combat", untilYourNextTurn. Without one it triggers once, the next time the event happens (CR 603.7b); with one it triggers every time ("whenever") until then; `once?`: boolean — With a duration: trigger only once even so ("when that creature dies this turn", "when you next cast a spell this turn"); `optional?`: boolean — "You may" — asked as the delayed trigger resolves. - `replacement` — Create a replacement effect for a duration (default end of turn): "prevent all combat damage that would be dealt this turn", "if that creature would die this turn, exile it instead". once = applies to one event ("the next time …"); budget = the total amount it prevents / redirects ("the next 3 damage"). Fields: `replacement`: { replaces: "event"; event: "damage" | "draw" | "drawBatch" | "beginTurn" | "beginStep" | "dies" | "toGraveyard" | "leavesBattlefield" | "enters" | "destroy" | "counter" | "copySpell" | "untap" | "createTokens" | "putCounters" | "lifeGain" | "lifeLoss" | "loseGame" | "loseMana" | "addMana" | "mill" | "searchLibrary" | "rollDice" | "flipCoin" | "explore" | "connive" | "scry" | "proliferate" | "setInMotion"; to?: TargetDef; toPlayer?: any; from?: TargetDef; by?: any; lifeLossBy?: any; damageKind?: "combat" | "noncombat"; minAmount?: ValueDef; maxAmount?: ValueDef; exactAmount?: ValueDef; counter?: string; extraTurnOnly?: boolean; step?: "untap" | "draw"; duringUntapStep?: boolean; firstEachTurn?: boolean; manaColor?: string; coloredManaOnly?: boolean; manaFromColors?: string[]; manaPlayers?: any; manaAdditional?: string[]; manaMultiply?: number; manaExact?: string; manaOneColor?: boolean; tappedForMana?: boolean; enterController?: any; chooseEnterController?: boolean; enterTapped?: boolean; enterAttacking?: boolean; enterCounters?: object[]; enterAs?: EffectDef[]; tokenReplace?: object[]; tokenChoices?: object[]; tokenAdditional?: object[]; tokenAdditionalOnce?: object[]; shuffleOwnedIntoLibrary?: boolean; randomResults?: object; dieSides?: number; searchTop?: number; ownLibrary?: boolean; regenerate?: boolean; removeDamage?: boolean; removeCounterToUntap?: string; removeAllCounters?: string; tokenFilter?: ObjectFilter; fromZone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; toZone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; orEvents?: object[]; discarded?: boolean; causedBy?: "opponent"; notCast?: boolean; exceptFirstInDrawStep?: boolean; condition?: ConditionDef; optional?: boolean; prevent?: boolean; preventAmount?: ValueDef; preventAllBut?: ValueDef; multiply?: number; add?: ValueDef; newTargets?: boolean; addDieRoll?: number; half?: "up" | "down"; set?: ValueDef; redirectTo?: TargetDef; lifeFloor?: ValueDef; zone?: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; position?: "top" | "bottom"; shuffle?: boolean; link?: boolean; instead?: EffectDef[]; then?: EffectDef[] } — A general replacement effect: which event, which objects / players / sources, and what happens instead; `duration?`: Duration — 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; `once?`: boolean — Applies only once (to the next matching event), then ends; `budget?`: ValueDef — Total amount this effect may prevent or redirect ("the next 3 damage"). - `reveal` — Reveal cards without moving them; object mode random selects on resolution (CR 701.20a, 608.2d). A prompt beginning "looks at" makes it a private look instead ("look at target player's hand"): only the controller sees the cards, for one acknowledgement decision, and nothing is revealed (CR 701.20a). Fields: `target?`: TargetDef — What it acts on (TargetDef); `zone?`: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command" — A zone name (battlefield, hand, graveyard, library, exile, stack, command); `prompt?`: string — Prompt text shown to the deciding player. - `if` — Conditional instructions (CR 608.2). Kicker/additional/alternative cost choices determine branch-specific targets during casting (CR 601.2c); identical targets in alternatives share a slot. Fields: `condition`: ConditionDef — A ConditionDef that must hold; `then`: EffectDef[] — Effects that follow ("then …", "if you do …"); `else?`: EffectDef[] — Effects run when the condition / choice / payment fails ("otherwise …", "if you don't …"). - `ifDone` — CR 608.2c, 609.3: perform the mandatory action as far as possible, then branch on full completion. Fields: `action`: { effect: "discard"; amount: ValueDef } | { effect: "tap"; target: TargetDef } | { effect: "removeCounters"; target: TargetDef; counter?: string; amount: any } | { effect: "moveTo"; target: TargetDef; destination: "battlefield" | "hand" | "graveyard" | "library" | "exile" | "stack" | "command"; position?: "top" | "bottom"; tapped?: boolean; transformed?: boolean; controller?: "you" | "owner" } | { effect: "bounce"; target: TargetDef } | … (7 options) — The mandatory action; `then` runs only if it was done in full (CR 609.3); `then`: EffectDef[] — Effects that follow ("then …", "if you do …"); `else?`: EffectDef[] — Effects run when the condition / choice / payment fails ("otherwise …", "if you don't …"); `failure?`: "cant" — Render the failure branch as if you cannot perform the action. - `villainousChoice` — CR 608.2d: each affected player chooses one of two instructions; current is that player and you remains the controller. 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`); `options`: any[] — The two instructions the player chooses between. - `optional` — CR 608.2d: optional instructions, with current bound to the deciding player. 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 — CR 608.2d: each selected player makes their own yes/no choice; defaults to you. You in the body remains the source's controller; `target?`: PlayerTargetDef — CR 115.1: declared player target when who is target; `prompt?`: string — Prompt text shown to the deciding player; `then`: EffectDef[] — Effects that follow ("then …", "if you do …"); `else?`: EffectDef[] — Effects on declining the optional action (CR 608.2d); `onceEachTurn?`: boolean — "Do this only once each turn": the ability still triggers and resolves, but once the action has been taken this turn the choice is no longer offered (declining keeps it available later in the turn). - `mayPay` — Optional payment with If you do / When you do and an optional failure branch (CR 118.12, 603.12). Fields: `paymentForm?`: "unlessPrefix" | "anyPlayer" — CR 118.12: equivalent printed payment form; does not alter who pays or which branch resolves; `repeatable?`: boolean — CR 118.12, 603.12: pay zero or more times; then runs once if paid, with timesPaid resolution bound to the payment count; `cost`: CostDef — The cost (CostDef); `then`: EffectDef[] — Effects that follow ("then …", "if you do …"); `else?`: EffectDef[] — Effects run when the condition / choice / payment fails ("otherwise …", "if you don't …"); `who?`: "anyPlayer" | "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 — Who is offered the payment: anyPlayer = in APNAP order, the first payer prevents the else branch (CR 101.4, 118.12); a player selector ("that player may pay {2}") offers it to those players — the then / else branches still belong to the source's controller ("If the player doesn't, you create a Treasure token"); `target?`: TargetDef — CR 118.12, 601.2c: player target or an object/stack target whose controller may pay (who: affectedController). Selected before evaluating the cost; branches read mode affected; `chooseX?`: { min?: number; max?: ValueDef } — Choose X at resolution within these bounds, then pay that value; the body reads the paid X (CR 107.3). - `unlessPays` — Each affected player may pay the cost; for each who doesn't, `then` runs with that player as "you". 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`); `target?`: TargetDef — What it acts on (TargetDef); `cost`: CostDef — The cost (CostDef); `then`: EffectDef[] — Effects that follow ("then …", "if you do …"); `prompt?`: string — Prompt text shown to the deciding player. **Registered `native` ids.** These are **all** the ids this engine registers for `native` effects; a card naming any other id is rejected when it is saved and when a game is dealt. Never invent one — a clause no native implements is a `tableRuling` step. - `magic.keepOnePerTypeSacrificeRest` — Each player keeps one permanent of each listed type (chosen by you or by that player) and sacrifices every other matching permanent. Params: `types` (non-empty list of card types, one kept of each), `chooser` (`"you"` or `"eachPlayer"`, default eachPlayer), `nonland` (default true: lands are spared). Tragic Arrogance: `{ "types": ["Artifact", "Creature", "Enchantment", "Planeswalker"], "chooser": "you" }`; Cataclysm adds `"Land"` to `types` with `"nonland": false`.