Winterflame won’t affect any target that’s illegal as it tries to resolve. If you choose to use both modes and both targets are illegal at that time, Winterflame won’t resolve.

Artwork
Loading artwork…
Winterflame
Khans of Tarkir · #213 · EN
Nonfoil—Foil—
Card rules
Choose one or both —
• Tap target creature.
• Winterflame deals 2 damage to target creature.
"The mountains scream with the dragons' throats." —Chianul, Who Whispers Twice
Uncommon · Illustrated by Richard Wright
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander 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 you choose both modes, they can each target the same creature or they can target different creatures.
You choose which mode you’re using—or that you’re using both modes—as you’re casting the spell. Once this choice is made, it can’t be changed later while the spell is on the stack.