# Drawstep engine · Effects · `earthbend` > Earthbend — Earthbend N. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/effects#earthbend ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "earthbend", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `amount` | `ValueDef` | yes | How many / how much (integer or ValueDef) | ## Minimal form ```json {"effect":"earthbend","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"amount":1} ``` The engine reads that minimal form as: “earthbend 1 (target creature becomes a 0/0 Elemental creature with haste with that many +1/+1 counters)”. ## Stock examples - **Bumi, King of Three Trials** — “When Bumi enters, choose up to X, where X is the number of Lesson cards in your graveyard —” ```json {"effect":"earthbend","target":{"of":"object","mode":"chosen","filter":{"types":["Land"],"controller":"you"}},"amount":3} ``` - **Bumi, Unleashed** — “When Bumi enters, earthbend 4.” ```json {"effect":"earthbend","target":{"of":"object","mode":"chosen","filter":{"types":["Land"],"controller":"you"}},"amount":4} ``` - **Earth Kingdom General** — “When this creature enters, earthbend 2.” ```json {"effect":"earthbend","target":{"of":"object","mode":"chosen","filter":{"types":["Land"],"controller":"you"}},"amount":2} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive