# Drawstep engine · Effects · `joinForces` > Join forces — CR 101.4, 117.1d, 608.2g: each player, starting with you in turn order, may pay any amount of mana; all payments finish before the continuation. 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#joinForces ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "joinForces", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `effects` | `EffectDef[]` | yes | CR 608.2c: continuation with X equal to the sum actually paid by all players | ## Minimal form ```json {"effect":"joinForces","effects":[]} ``` The engine reads that minimal form as: “starting with you, each player may pay any amount of mana. , where X is the total amount of mana paid this way”. ## Stock examples - **Minds Aglow** — “Join forces — Starting with you, each player may pay any amount of mana. Each player draws X cards, where X is the total amount of mana paid this way.” ```json {"effect":"joinForces","effects":[{"effect":"drawCards","who":"eachPlayer","amount":{"kind":"var","name":"X"}}]} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [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