The coin is flipped during resolution of this spell, so you know in advance what will happen when the source deals damage the next time.

Artwork
Loading artwork…
Desperate Gambit
Weatherlight · #96 · EN
Nonfoil—Foil—
Card rules
Choose a source you control and flip a coin. If you win the flip, the next time that source would deal damage this turn, it deals double that damage instead. If you lose the flip, the next time it would deal damage this turn, prevent that damage.
Uncommon · Illustrated by Pete Venters
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker 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
Old School Not Legal
Pauper Not Legal
Pauper Commander 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
The chosen source may be a permanent, a spell on the stack, or anything referred to by something on the stack (such as a Prodigal Pyromancer that’s left the battlefield while its ability is still on the stack)