If one of the two target creatures you control is an illegal target as Friendly Rivalry resolves, the other will still deal damage equal to its power.

Artwork
Loading artwork…
Friendly Rivalry
The Lord of the Rings: Tales of Middle-earth · #204 · EN
Nonfoil—Foil—
Card rules
Target creature you control and up to one other target legendary creature you control each deal damage equal to their power to target creature you don't control.
"Forty-two, Master Legolas!" —Gimli
Uncommon · Illustrated by Marc Simonetti
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the last target is an illegal target as Friendly Rivalry resolves, or if both of the first targets are illegal targets, no creature deals or is dealt damage.