If the target permanent or player is an illegal target when Essence Drain tries to resolve, it won’t resolve and none of its effects will happen. You won’t gain 3 life.

Artwork
Loading artwork…
Essence Drain
Magic 2013 · #93 · EN
Nonfoil—Foil—
Card rules
Essence Drain deals 3 damage to any target and you gain 3 life.
"Life's essence is a nectar unlike any I tasted when I lived as a mortal." —Zul Ashur, lich lord
Common · Illustrated by Jim Nelson
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH 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
Pioneer 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