diff --git a/Mage.Sets/src/mage/cards/p/PlanarAtlas.java b/Mage.Sets/src/mage/cards/p/PlanarAtlas.java new file mode 100644 index 0000000000..fd1cfcf32d --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PlanarAtlas.java @@ -0,0 +1,44 @@ +package mage.cards.p; + +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; +import mage.abilities.mana.ColorlessManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.PutCards; +import mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PlanarAtlas extends CardImpl { + + public PlanarAtlas(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}"); + + // Planar Atlas enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + + // When Planar Atlas enters the battlefield, you may look at the top four cards of your library. If you do, reveal up to one land card from among them, then put that card on top of your library and the rest on the bottom in a random order. + this.addAbility(new EntersBattlefieldTriggeredAbility(new LookLibraryAndPickControllerEffect( + 4, 1, StaticFilters.FILTER_CARD_LAND, + PutCards.TOP_ANY, PutCards.BOTTOM_RANDOM + ), true)); + + // {T}: Add {C}. + this.addAbility(new ColorlessManaAbility()); + } + + private PlanarAtlas(final PlanarAtlas card) { + super(card); + } + + @Override + public PlanarAtlas copy() { + return new PlanarAtlas(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Jumpstart2022.java b/Mage.Sets/src/mage/sets/Jumpstart2022.java index 71947519d1..3bb6fc0050 100644 --- a/Mage.Sets/src/mage/sets/Jumpstart2022.java +++ b/Mage.Sets/src/mage/sets/Jumpstart2022.java @@ -552,6 +552,7 @@ public final class Jumpstart2022 extends ExpansionSet { cards.add(new SetCardInfo("Plague Spitter", 456, Rarity.UNCOMMON, mage.cards.p.PlagueSpitter.class)); cards.add(new SetCardInfo("Plaguecrafter", 72, Rarity.UNCOMMON, mage.cards.p.Plaguecrafter.class)); cards.add(new SetCardInfo("Plains", 98, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Planar Atlas", 51, Rarity.UNCOMMON, mage.cards.p.PlanarAtlas.class)); cards.add(new SetCardInfo("Plundering Predator", 37, Rarity.COMMON, mage.cards.p.PlunderingPredator.class)); cards.add(new SetCardInfo("Pounce", 707, Rarity.COMMON, mage.cards.p.Pounce.class)); cards.add(new SetCardInfo("Pouncing Lynx", 228, Rarity.COMMON, mage.cards.p.PouncingLynx.class));