If a card in a graveyard has X in its mana cost, X is 0 for the purpose of determining its mana value.

Artwork
Loading artwork…
Moseo, Vein's New Dean
Secrets of Strixhaven · #91 · EN
Nonfoil—Foil—
Card rules
Flying
When Moseo enters, create a 1/1 black and green Pest creature token with "Whenever this token attacks, you gain 1 life."
Infusion — At the beginning of your end step, if you gained life this turn, return up to one target creature card with mana value X or less from your graveyard to the battlefield, where X is the amount of life you gained this turn.
2/1
Rare · Illustrated by Abz J Harding
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Moseo's last ability will check as your end step starts to see if you gained life this turn. If you didn't, the ability won't trigger at all. It's not possible to gain life during your end step in time to have the ability trigger.