M:tG card similarity search
1B · Legendary Enchantment — Shrine
At the beginning of your precombat main phase, each opponent loses X life and you gain X life, where X is the number of Shrines you control.
| Name | Mana | Type | Text | 
|---|---|---|---|
| Hydroid Krasis | XGU | Creature — Jellyfish Hydra Beast | When you cast this spell, you gain half X life and draw half X cards. Round down each time. Flying, trample Hydroid Krasis enters the battlefield with X +1/+1 counters on it. 0/0 | 
| Dregs of Sorrow | X4B | Sorcery | Destroy X target nonblack creatures. Draw X cards. | 
| 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 | 
| Niv-Mizzet, Guildpact | WUBRG | Legendary Creature — Dragon Avatar | Flying, hexproof from multicolored Whenever Niv-Mizzet, Guildpact deals combat damage to a player, it deals X damage to any target, target player draws X cards, and you gain X life, where X is the number of different color pairs among permanents you control that are exactly two colors. 6/6 | 
| Mind Spring | XUU | Sorcery | Draw X cards. | 
| Aven Shrine | 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. | 
| Universal Surveillance | XUUU | Sorcery | Improvise (Your artifacts can help cast this spell. Each artifact you tap after you're done activating mana abilities pays for {1}.) Draw X cards. | 
| Unified Lunge | Sorcery | Unified Lunge deals X damage to each player, where X is the number of Heads on the battlefield. | |
| 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 | 
| Be'lakor, the Dark Master | 3UBR | Legendary Creature — Demon Noble | Flying Prince of Chaos — When Be'lakor, the Dark Master enters the battlefield, you draw X cards and you lose X life, where X is the number of Demons you control. Lord of Torment — Whenever another Demon enters the battlefield under your control, it deals damage equal to its power to any target. 6/5 |