Can be targeted by a modal spell that can target a non-Wall in one of its modes, even if it has a mode that targets only Walls. That spell can, in theory, target a non-Wall, so it is not a “spell that can target only Walls”.

Artwork
Loading artwork…
Wall of Shadows
Chronicles · #41 · EN
Nonfoil—Foil—
Card rules
Defender (This creature can't attack.)
Prevent all damage that would be dealt to this creature by creatures it's blocking.
This creature can't be the target of spells that can target only Walls or of abilities that can target only Walls.
0/1
Common · Illustrated by Pete Venters
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Old School Legal
Pauper Legal
Pauper Commander Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Penny Not Legal
Pioneer 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