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 | 
|---|---|---|---|
| Ugin's Insight | 3UU | Sorcery | Scry X, where X is the highest mana value among permanents you control, then draw three cards. | 
| Ethereal Investigator | 3U | Creature — Spirit | Flying When Ethereal Investigator enters the battlefield, investigate X times, where X is the number of opponents you have. (To investigate, create a Clue token. It's an artifact with "{2}, Sacrifice this artifact: Draw a card.") Whenever you draw your second card each turn, create a 1/1 white Spirit creature token with flying. 2/3 | 
| Heronblade Elite | 2G | Creature — Human Warrior | Vigilance Whenever another Human enters the battlefield under your control, put a +1/+1 counter on Heronblade Elite. {T}: Add X mana of any one color, where X is Heronblade Elite's power. 1/1 | 
| Jadelight Spelunker | XG | Creature — Merfolk Scout | When Jadelight Spelunker enters the battlefield, it explores X times. (To have it explore, reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on that creature, then put the card back or put it into your graveyard.) 1/1 | 
| Electrodominance | XRR | Instant | Electrodominance deals X damage to any target. You may cast a spell with mana value X or less from your hand without paying its mana cost. | 
| Dragonborn Immolator | 3R | Creature — Dragon Shaman | {2}{R}: Dragonborn Immolator gets +1/+0 until end of turn. Gift of Tiamat — When Dragonborn Immolator dies, if its power is greater than 0, note its power. You get a one-time boon with "When you cast a creature spell, it perpetually gets +X/+0, where X is the noted number." 2/4 | 
| General Tazri | 4W | Legendary Creature — Human Ally | When General Tazri enters the battlefield, you may search your library for an Ally creature card, reveal it, put it into your hand, then shuffle. {W}{U}{B}{R}{G}: Ally creatures you control get +X/+X until end of turn, where X is the number of colors among those creatures. 3/4 | 
| Ghastly Demise | B | Instant | Destroy target nonblack creature if its toughness is less than or equal to the number of cards in your graveyard. | 
| Witchstalker | 1GG | Creature — Wolf | Hexproof (This creature can't be the target of spells or abilities your opponents control.) Whenever an opponent casts a blue or black spell during your turn, put a +1/+1 counter on Witchstalker. 3/3 | 
| Generous Visitor | G | Creature — Spirit | Whenever you cast an enchantment spell, put a +1/+1 counter on target creature. 1/1 |