# Drawstep engine · Abilities · `activated` > Activated — e.g. “Channel — {1}: (no effects)”. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/abilities#activated ## Where it goes One entry of `abilities[]`: `{ "kind": "activated", … }`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `name` | `string` | no | Printed name. On an ability: its ability word ("Hellfire Retribution"), shown in the English rendering, on the stack and in the log | | `cost` | `CostDef` | yes | The cost (CostDef) | | `costModifiers` | `object[]` | no | CR 602.2b, 601.2f: this ability's own "costs {N} less/more to activate …"; summed with other cost changes, floored once | | `abilityWord` | `"channel"` | no | Printed Channel ability word (CR 207.2c); use discardSelf and activateFrom hand for its payment | | `anyPlayer` | `boolean` | no | CR 602.2: any player with priority may activate and controls the resulting ability | | `opponentsOnly` | `boolean` | no | Only opponents of the source controller may activate (CR 602.2) | | `timing` | `"instant" \| "sorcery"` | no | Activation timing, combinable with limits and onlyIf. Explicit instant requires priority even for a mana ability (CR 602.5d-e) | | `effects` | `EffectDef[]` | no | The effects, resolved in order (EffectDef[]) | | `modes` | `object[]` | no | Modal choices: each `{ label, effects, cost? }`; `chooseMin` / `chooseMax` bound how many are picked | | `modeHistory` | `"game" \| "turn"` | no | CR 700.2a, 400.7: choose only modes not chosen earlier for this ability of this object, over its lifetime or this turn. Recorded on successful activation, even if countered | | `chooseMin` | `number` | no | Minimum number of modes chosen (default 1; 0 for "choose any number") | | `chooseMax` | `ValueDef` | no | CR 700.2a, 107.3: maximum modes, including X announced for the spell | | `chooseAtRandom` | `boolean` | no | CR 700.2a: choose the announced modes using the seeded RNG before targets | | `repeatModes` | `boolean` | no | CR 700.2d: allow repeated modes, each with independent targets announced before resolution | | `modeBudget` | `{ amount: number; exact?: boolean; symbol?: "pawprint" }` | no | CR 700.2i: maximum (or exact) total weight of the modes announced before targets | | `chooseIf` | `{ condition: ConditionDef; min: number; max?: number }` | no | "Choose one. If , (you may) choose both / any number instead": mode bounds that apply when the condition holds as the modes are chosen (CR 601.4) | | `distinctModeTargets` | `"player"` | no | CR 601.2c, 700.2: "Each mode must target a different player." — no two chosen modes may target the same player; each mode's player target is announced from the players no earlier mode targets (checked as the targets are chosen, CR 601.2c) | | `onceEver` | `boolean` | no | CR 602.5b, 400.7: activate only once for this object, across turns and controllers; a zone change resets the limit | | `oncePerTurn` | `boolean` | no | Activate only once each turn, independently of other timing restrictions (CR 602.5b) | | `maxActivationsPerTurn` | `number` | no | Maximum activations per turn for this object (CR 602.5b, 400.7) | | `exhaust` | `boolean` | no | Exhaust: activate only once per game | | `boast` | `boolean` | no | Boast: only if the source attacked this turn, once each turn | | `powerUp` | `boolean` | no | Power-up: once only; cost reduced by the source's mana cost if it entered this turn | | `outlast` | `boolean` | no | Outlast (CR 702.107a): the activation is an outlast ability (activatesAbility abilityKind outlast) | | `embalm` | `boolean` | no | Embalm (CR 702.128a): the activation is an embalm ability (activatesAbility abilityKind embalm) | | `eternalize` | `boolean` | no | Eternalize (CR 702.129a): the activation is an eternalize ability (activatesAbility abilityKind eternalize) | | `onlyIf` | `ConditionDef` | no | Activation condition; combine phase, turn and battlefield predicates with all (CR 602.1b) | | `activateFrom` | `"battlefield" \| "graveyard" \| "hand" \| "exile" \| "command"` | no | Zone the ability is activated from (default battlefield) | ## Minimal form ```json {"kind":"activated","cost":{"mana":"{1}"},"abilityWord":"channel","distinctModeTargets":"player"} ``` The engine reads that minimal form as: “Channel — {1}: (no effects)”. ## Stock examples - **Shift Witness** — “” ```json {"kind":"activated","cost":{"mana":"{0}"},"effects":[{"effect":"transform","convert":true}]} ``` - **Public Ability Study** — “” ```json {"kind":"activated","cost":{"mana":"{0}"},"anyPlayer":true,"effects":[{"effect":"gainLife","amount":2}],"oncePerTurn":true} ``` - **Mana Rock Study** — “” ```json {"kind":"activated","cost":{"tapSelf":true},"effects":[{"effect":"addMana","mana":"{C}"}]} ``` ## Related - [Abilities](https://drawstep.xyz/wiki/mtg/abilities.md) — the whole topic - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the steps a nested `effects` / `then` list may contain - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive