# Drawstep engine · Values · `sharedCreatureTypeMax` > Shared creature type max — The greatest number of creatures a player controls that have a creature type in common (CR 205.3m, 107.1); zero with none. 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#sharedCreatureTypeMax ## Where it goes A number: `{ "kind": "sharedCreatureTypeMax", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | ## Minimal form ```json {"kind":"sharedCreatureTypeMax"} ``` The engine reads that minimal form as: “the greatest number of creatures you control that have a creature type in common”. ## Stock examples - **Iter147 Basalt Ravager** — “When this creature enters, it deals X damage to any target, where X is the greatest number of creatures you control that have a creature type in common.” ```json {"kind":"sharedCreatureTypeMax"} ``` ## 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