# Drawstep engine · Statics & layers · `costFloor` > Cost floor — Trinisphere: "each spell that would cost less than N mana to cast costs N mana to cast" — applied after every other cost change, the difference paid as generic mana. 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/statics#costFloor ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "costFloor", … } }`. Applied continuously through the layer system. Printed words that point here (search aliases): each spell costs at least {3} to cast trinisphere can't be cast for less. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `amount` | `ValueDef` | yes | How many / how much (integer or ValueDef) | | `filter` | `ObjectFilter` | no | Which spells; default every spell | | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Whose spells; default every player's | ## Minimal form ```json {"type":"costFloor","amount":1} ``` The engine reads that minimal form as: “each spell that would cost less than one mana to cast costs one mana to cast”. ## Related - [Statics & layers](https://drawstep.xyz/wiki/mtg/statics.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