If the target permanent or player becomes an illegal target for Blast of Genius, the spell doesn’t resolve. You don’t draw or discard any cards.

Artwork
Loading artwork…
Blast of Genius
Ultimate Masters · #197 · EN
Nonfoil—Foil—
Card rules
Choose any target. Draw three cards, then discard a card. Blast of Genius deals damage equal to the discarded card's mana value to that permanent or player.
Ral Zarek's brainstorms bring actual thunder and lightning.
Uncommon · Illustrated by Terese Nielsen
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If a discarded card has X in its mana cost, X is considered to be 0.