The value of X is determined when the ability resolves. The bonus won't change later in the turn if the creature's power changes.

Artwork
Loading artwork…
Yew Spirit
Avacyn Restored · #207 · EN
Nonfoil—Foil—
Card rules
2
: This creature gets +X/+X until end of turn, where X is its power.
3/3
"I wonder what dwelled in the primordial forests before humans existed." —Elder Rimheit
Uncommon · Illustrated by Dan Murayama Scott
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny 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
PreDH 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
If this creature's power is negative as its ability resolves, X is considered to be 0.