M:tG card similarity search
XB · Sorcery
X is the number of artifact and/or creature cards in an opponent's graveyard as you cast this spell. Distribute X +1/+1 counters among any number of target creatures.
| Name | Mana | Type | Text | 
|---|---|---|---|
| Deathbloom Ritualist | 3BG | Creature — Elf Warlock | {T}: Add X mana of any one color, where X is the number of creature cards in your graveyard. 3/5 | 
| Conflagrate | XXR | Sorcery | Conflagrate deals X damage divided as you choose among any number of targets. Flashback—{R}{R}, Discard X cards. (You may cast this card from your graveyard for its flashback cost. Then exile it.) | 
| Bound | 3BG | Instant | Sacrifice a creature. Return up to X cards from your graveyard to your hand, where X is the number of colors that creature was. Exile this card. | 
| Pygmy Giant | 1RR | Creature — Giant | {R}, {T}, Sacrifice a creature: Pygmy Giant deals X damage to target creature, where X is a number in the sacrificed creature's text box. 0/2 | 
| Marshal's Anthem | 2WW | Enchantment | Multikicker {1}{W} (You may pay an additional {1}{W} any number of times as you cast this spell.) Creatures you control get +1/+1. When Marshal's Anthem enters the battlefield, return up to X target creature cards from your graveyard to the battlefield, where X is the number of times Marshal's Anthem was kicked. | 
| Zenith Flare | 2RW | Instant | Zenith Flare deals X damage to any target and you gain X life, where X is the number of cards with a cycling ability in your graveyard. | 
| Criminal Past | 2B | Legendary Enchantment — Background | Commander creatures you own have menace and "This creature gets +X/+0, where X is the number of creature cards in your graveyard." (A creature with menace can't be blocked except by two or more creatures.) | 
| Cephalid Shrine | 1UU | Enchantment | Whenever a player casts a spell, counter that spell unless that player pays {X}, where X is the number of cards in all graveyards with the same name as the spell. | 
| Tendrils of Corruption | 3B | Instant | Tendrils of Corruption deals X damage to target creature and you gain X life, where X is the number of Swamps you control. | 
| Sunbringer's Touch | 2GG | Sorcery | Bolster X, where X is the number of cards in your hand. Each creature you control with a +1/+1 counter on it gains trample until end of turn. (To bolster X, choose a creature with the least toughness among creatures you control and put X +1/+1 counters on it.) |