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 | 
|---|---|---|---|
| Harpoon Sniper | 2W | Creature — Merfolk Archer | {W}, {T}: Harpoon Sniper deals X damage to target attacking or blocking creature, where X is the number of Merfolk you control. 2/2 | 
| Korvold, Gleeful Glutton | 5BRG | Legendary Creature — Dragon Noble | This spell costs {1} less to cast for each card type among permanents you've sacrificed this turn. Flying, trample, haste Whenever Korvold deals combat damage to a player, put X +1/+1 counters on Korvold and draw X cards, where X is the number of permanent types among cards in your graveyard. 4/4 | 
| Change of Plans | X1U | Instant | Each of X target creatures you control connive. You may have any number of them phase out. (To have a creature connive, draw a card, then discard a card. If you discarded a nonland card, put a +1/+1 counter on that creature. Treat phased-out permanents and anything attached to them as though they don't exist until their controller's next turn.) | 
| Ghoulcaller's Harvest | BG | Sorcery | Create X 2/2 black Zombie creature tokens with decayed, where X is half the number of creature cards in your graveyard, rounded up. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.) Flashback {3}{B}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) | 
| Elrond, Master of Healing | 2GU | Legendary Creature — Elf Noble | Whenever you scry, put a +1/+1 counter on each of up to X target creatures, where X is the number of cards looked at while scrying this way. Whenever a creature you control with a +1/+1 counter on it becomes the target of a spell or ability an opponent controls, you may draw a card. 4/4 | 
| Ice Cave | 3UU | Enchantment | Whenever a player casts a spell, any other player may pay that spell's mana cost. If a player does, counter the spell. (Mana cost includes color.) | 
| Mana Maze | 1U | Enchantment | Players can't cast spells that share a color with the spell most recently cast this turn. | 
| Contemplation | 1WW | Enchantment | Whenever you cast a spell, you gain 1 life. | 
| Reckless Crew | 3R | Sorcery | Create X 2/1 red Dwarf Berserker creature tokens, where X is the number of Vehicles you control plus the number of Equipment you control. For each of those tokens, you may attach an Equipment you control to it. | 
| Truss, Chief Engineer | UB | Legendary Creature — Vedalken Rogue Employee | Whenever Truss, Chief Engineer enters the battlefield or another creature dies, put a hack counter on Truss. {2}, {T}, Remove X hack counters from Truss: Add or subtract X from a number or number word on target spell or permanent until end of turn. This effect can't reduce a number below 1 or a number word below one. 1/3 |