The value of X is determined only once, as Thunder Salvo resolves.

Artwork
Loading artwork…
Thunder Salvo
Outlaws of Thunder Junction · #150 · EN
Nonfoil—Foil—
Card rules
Thunder Salvo deals X damage to target creature, where X is 2 plus the number of other spells you've cast this turn.
"You said one weapon in the duel. Ain't my fault you forgot to specify size."
Common · Illustrated by Johann Bodin
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel 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
Future 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
Thunder Salvo will count any other spells you’ve cast this turn. It doesn’t matter if the other spells resolved, didn’t resolve, were countered, or are still on the stack.