M:tG card similarity search
1WW · Enchantment
Whenever a player casts a spell, that player gains X life, where X is the number of cards in all graveyards with the same name as that spell.
| Name | Mana | Type | Text | 
|---|---|---|---|
| Sunflare Shaman | 1R | Creature — Elemental Shaman | {1}{R}, {T}: Sunflare Shaman deals X damage to any target and X damage to itself, where X is the number of Elemental cards in your graveyard. 2/1 | 
| Unified Lunge | Sorcery | Unified Lunge deals X damage to each player, where X is the number of Heads on the battlefield. | |
| Parting Thoughts | 2B | Sorcery | Destroy target creature. You draw X cards and you lose X life, where X is the number of counters on that creature. | 
| Nightmare Incursion | 5B | Sorcery | Search target player's library for up to X cards, where X is the number of Swamps you control, and exile them. Then that player shuffles. | 
| Doorkeeper | 1U | Creature — Homunculus | Defender {2}{U}, {T}: Target player mills X cards, where X is the number of creatures you control with defender. 0/4 | 
| Induce Paranoia | 2UU | Instant | Counter target spell. If {B} was spent to cast this spell, that spell's controller mills X cards, where X is the spell's mana value. | 
| Lucid Dreams | 3UU | Sorcery | Draw X cards, where X is the number of card types among cards in your graveyard. | 
| Bosom Buddy | 3W | Creature — Elephant Townsfolk | Whenever you cast a spell, you may gain ½ life for each word in that spell's name. 1/4 | 
| Volcanic Torrent | 4R | Sorcery | Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom in a random order.) Volcanic Torrent deals X damage to each creature and planeswalker your opponents control, where X is the number of spells you've cast this turn. | 
| Coral Colony | 1U | Creature — Wall | Defender {1}{U}, {T}: Target player mills X cards, where X is the number of creatures you control with defender. (To mill a card, a player puts the top card of their library into their graveyard.) 1/4 |