The X in the ability has the same value as the X paid in the Morph ability. This is pretty easy to derive since there is no other source of X.

Artwork
Loading artwork…
Bane of the Living
Commander 2019 · #104 · EN
Nonfoil—Foil—
Card rules
Morph X
(You may cast this card face down as a 2/2 creature for 3. Turn it face up any time for its morph cost.)
When this creature is turned face up, all creatures get -X/-X until end of turn.
4/3
Rare · Illustrated by Filip Burburan
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern 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
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The trigger occurs when you use the Morph ability to turn the card face up, or when an effect turns it face up. It will not trigger on being revealed or on leaving the battlefield.