# Drawstep engine · Values · `timesPaid` > Times paid — How many times an optional additional cost was paid (CR 118.8, 707.10). Cost additional is the generic optionalAdditionalCost; copies retain the payment count. Cost resolution reads the enclosing repeatable mayPay payment count (CR 118.12, 603.12). 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/values#timesPaid ## Where it goes A number: `{ "kind": "timesPaid", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `"kicker" \| "replicate" \| "squad" \| "strive" \| "casualty" \| "teamwork" \| "waterbend" \| "stickerKicker" \| "additional" \| "resolution"` | no | Which optional or additional cost is counted (kicker, replicate, squad, …) | ## Minimal form ```json {"kind":"timesPaid"} ``` The engine reads that minimal form as: “the number of times its kicker cost was paid”. ## Stock examples - **Paid Entry** — “” ```json {"kind":"timesPaid","cost":"additional"} ``` - **Widow's Bite** — “• Target creature gains deathtouch until end of turn.” ```json {"kind":"timesPaid","cost":"teamwork"} ``` - **Virtual Assistant** — “Whenever you cast a spell using teamwork, create a 1/1 colorless Robot Hero artifact creature token with flying.” ```json {"kind":"timesPaid","cost":"teamwork"} ``` ## Related - [Values](https://drawstep.xyz/wiki/mtg/values.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive