If you choose two target creatures you control for Common Goal, and one of those creatures is an illegal target as the spell tries to resolve, the creature you control that's still a legal target will still deal damage to the creature an opponent controls (assuming that it too remains a legal target).

Artwork
Loading artwork…
Common Goal
Star Trek · #190 · EN
Nonfoil—Foil—
Card rules
One or two target creatures you control each deal damage equal to their power to target creature an opponent controls.
"So be it, human. We shall work together, if only so I can be the one to kill you."
Common · Illustrated by Ioannis Fiore
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions