If the Spirit or Arcane spell has X in the mana cost, then you use the value of X on the stack. For example, Shining Shoal costs X
. If you choose X = 2, then Shining Shoal's mana value is 4. Shining Shoal also has an ability that says "You may exile a white card with mana value X from your hand rather than pay Shining Shoal's mana cost"; if you choose to pay the alternative cost and exile a card with mana value 2, then X is 2 while Shining Shoal is on the stack and its mana value is 4.

Artwork
Loading artwork…
Skyfire Kirin
Saviors of Kamigawa · #113 · EN
Nonfoil—Foil—
Card rules
Flying
Whenever you cast a Spirit or Arcane spell, you may gain control of target creature with that spell's mana value until end of turn.
3/3
Its fiery visitation burns away the fog of war and dissipates the ties of loyalty.
Rare · Illustrated by Tsutomu Kawade
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions