You may not activate the second ability if no card has been exiled with Prototype Portal. In that case, the value of {X} is undefined and can't be paid.
2011-01-01
wotc
You don't choose the value of {X}. Rather, the value of X is defined by the activated ability.
2011-01-01
wotc
If the exiled card has {X} in its mana cost (such as Chalice of the Void), that X is considered to be 0. The {X} in Prototype Portal's activation cost takes this into account, though it may be greater than 0 if the exiled card has other mana symbols in its mana cost (such as Riptide Replicator).
2011-01-01
wotc
If Prototype Portal has left the battlefield by the time its second ability resolves, you'll still put a token onto the battlefield that's a copy of the exiled card. On the other hand, if Prototype Portal is still on the battlefield at this time but there is no exiled card (because, perhaps, Riftsweeper's ability caused the exiled card to be put into its owner's library), no token is created.
2011-01-01
wotc
Any "enters" abilities of the exiled card will trigger when the token is put onto the battlefield. Any "as [this permanent] enters" or "[this permanent] enters with" abilities of the exiled card will also work.
Format Legality
Standard
Not Legal
Future
Not Legal
Historic
Not Legal
Timeless
Not Legal
Gladiator
Not Legal
Pioneer
Not Legal
Modern
Legal
Legacy
Legal
Pauper
Not Legal
Vintage
Legal
Penny
Legal
Commander
Legal
Oathbreaker
Legal
Standardbrawl
Not Legal
Brawl
Not Legal
Alchemy
Not Legal
Paupercommander
Not Legal
Duel
Legal
Oldschool
Not Legal
Premodern
Not Legal
Predh
Legal
Who's Online
Live site activity across collectors, guests, and crawlers.