There's Coffee in that Nebula
Sorcery
Look at the top five cards of your library. You may reveal a Plains card or nonland permanent card with mana value 3 or less from among them and put it into your hand. Put the rest on the bottom in a random order.
Beam me up (You may cast this card from your graveyard for
if you also return a creature you control to its owner's hand. Then exile this spell.)
Illustrated by
Legality
Rulings
You must still follow any timing restrictions and permissions, including those based on the card's type. For instance, you can cast a sorcery using beam me up only when you could normally cast a sorcery.
A spell cast using beam me up will always be exiled afterward, whether it resolves, is countered, or leaves the stack in some other way.
You can cast a spell using beam me up even if it was somehow put into your graveyard without having been cast.
If a card in a library has in its mana cost, X is 0 for the purpose of determining its mana value.
"Beam me up [cost]" means "You may cast this card from your graveyard by paying [cost] and returning a creature you control to its owner's hand rather than paying its mana cost" and "If the beam me up cost was paid, exile this card instead of putting it anywhere else any time it would leave the stack."
If a card with beam me up is put into your graveyard during your turn, you can cast it if it's legal to do so before any other player can take any actions.
To determine the total cost of a spell, start with the mana cost or alternative cost (such as a beam me up cost) you're paying, add any cost increases, then apply any cost reductions. The mana value of the spell is determined only by its mana cost, no matter what the total cost to cast the spell was.
