If you choose the second mode and there are no other attacking creatures, you won’t create any Vampire tokens.

Artwork
Loading artwork…
Ghalta and Mavren
The List · #MOM-225 · EN
Nonfoil—Foil—
Card rules
Trample
Whenever you attack, choose one —
• Create a tapped and attacking X/X green Dinosaur creature token with trample, where X is the greatest power among other attacking creatures.
• Create X 1/1 white Vampire creature tokens with lifelink, where X is the number of other attacking creatures.
12/12
Rare · Illustrated by Zezhou Chen
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Although the Dinosaur token enters the battlefield attacking, it was never declared as an attacking creature (for the purposes of abilities that trigger whenever a creature attacks, for example).
You choose which player, planeswalker, or battle the Dinosaur token is attacking. It doesn’t have to be the same player, planeswalker, or battle that Ghalta and Mavren is attacking.
If you choose the first mode and there are no other attacking creatures, you’ll create a 0/0 Dinosaur token. Unless something else is immediately raising its toughness, the token will die. You won’t have time to respond with a spell or ability to try and save it. A similar situation occurs if the greatest power among other attacking creatures is 0 or less.
For both modes, the value of X is determined as the ability resolves.