The value of X is calculated at the time Defiling Daemogoth's last ability resolves.

Artwork
Loading artwork…
Defiling Daemogoth
Secrets of Strixhaven Commander · #25 · EN
Nonfoil—Foil—
Card rules
Menace
Whenever a creature you control deals combat damage to a player, you gain 1 life.
At the beginning of your end step, each opponent loses X life, where X is the amount of life you gained this turn.
5/4
Rare · Illustrated by Quintin Gleim
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker 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
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