If the targeted player has become an illegal target by the time Lavalanche resolves, Lavalanche doesn't resolve. Nothing will be dealt damage.

Artwork
Loading artwork…
Lavalanche
Dominaria United Commander · #157 · EN
Nonfoil—Foil—
Card rules
Lavalanche deals X damage to target player or planeswalker and each creature that player or that planeswalker's controller controls.
Alara's burning blood cannot be contained by mere earth and stone.
Rare · Illustrated by Steve Argyle
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Tlr 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
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Because Lavalanche doesn't target any creatures, it will deal damage to creatures with shroud. Any damage it would deal to creatures with appropriate protection abilities will still be prevented, however.