From b9ad422d55baeee5ddaabf0d07f50d734a71a6b5 Mon Sep 17 00:00:00 2001 From: "maurer.it" Date: Sat, 11 Aug 2012 11:42:02 -0400 Subject: [PATCH 1/2] Fixed Pod and GSZ as they were leaving the card they tutored in the library. --- Mage.Sets/src/mage/sets/mirrodinbesieged/GreenSunsZenith.java | 2 +- Mage.Sets/src/mage/sets/newphyrexia/BirthingPod.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/mirrodinbesieged/GreenSunsZenith.java b/Mage.Sets/src/mage/sets/mirrodinbesieged/GreenSunsZenith.java index 3567f4ca4d..fa981ab84a 100644 --- a/Mage.Sets/src/mage/sets/mirrodinbesieged/GreenSunsZenith.java +++ b/Mage.Sets/src/mage/sets/mirrodinbesieged/GreenSunsZenith.java @@ -97,7 +97,7 @@ class GreenSunsZenithSearchEffect extends OneShotEffect 0) { Card card = player.getLibrary().getCard(target.getFirstTarget(), game); if (card != null) - card.putOntoBattlefield(game, Constants.Zone.HAND, source.getId(), source.getControllerId()); + card.putOntoBattlefield(game, Constants.Zone.LIBRARY, source.getId(), source.getControllerId()); } player.shuffleLibrary(game); return true; diff --git a/Mage.Sets/src/mage/sets/newphyrexia/BirthingPod.java b/Mage.Sets/src/mage/sets/newphyrexia/BirthingPod.java index 0272abfde4..042012fc26 100644 --- a/Mage.Sets/src/mage/sets/newphyrexia/BirthingPod.java +++ b/Mage.Sets/src/mage/sets/newphyrexia/BirthingPod.java @@ -112,7 +112,7 @@ class BirthingPodEffect extends OneShotEffect { for (UUID cardId : target.getTargets()) { Card card = player.getLibrary().getCard(cardId, game); if (card != null) { - card.putOntoBattlefield(game, Constants.Zone.HAND, source.getId(), source.getControllerId()); + card.putOntoBattlefield(game, Constants.Zone.LIBRARY, source.getId(), source.getControllerId()); } } } From c67ec6b2c50704a220ece381473f3d978a2e4637 Mon Sep 17 00:00:00 2001 From: "maurer.it" Date: Sun, 12 Aug 2012 10:17:33 -0400 Subject: [PATCH 2/2] Fixed Genesis Wave so you can no longer put sorceries or instants onto the battlefield. --- Mage.Sets/src/mage/sets/scarsofmirrodin/GenesisWave.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Mage.Sets/src/mage/sets/scarsofmirrodin/GenesisWave.java b/Mage.Sets/src/mage/sets/scarsofmirrodin/GenesisWave.java index cd3f60730c..7be2fab0f0 100644 --- a/Mage.Sets/src/mage/sets/scarsofmirrodin/GenesisWave.java +++ b/Mage.Sets/src/mage/sets/scarsofmirrodin/GenesisWave.java @@ -40,6 +40,8 @@ import mage.cards.Cards; import mage.cards.CardsImpl; import mage.filter.Filter.ComparisonType; import mage.filter.FilterCard; +import mage.filter.predicate.Predicates; +import mage.filter.predicate.mageobject.CardTypePredicate; import mage.filter.predicate.mageobject.ConvertedManaCostPredicate; import mage.game.Game; import mage.players.Player; @@ -93,6 +95,12 @@ class GenesisWaveEffect extends OneShotEffect { } FilterCard filter = new FilterCard("card with converted mana cost " + count + " or less to put onto the battlefield"); filter.add(new ConvertedManaCostPredicate(ComparisonType.LessThan, count + 1)); + filter.add(Predicates.or(new CardTypePredicate(CardType.ARTIFACT), + new CardTypePredicate(CardType.CREATURE), + new CardTypePredicate(CardType.ENCHANTMENT), + new CardTypePredicate(CardType.LAND), + new CardTypePredicate(CardType.PLANESWALKER) + )); TargetCard target1 = new TargetCard(Zone.PICK, filter); while (cards.size() > 0 && player.choose(Outcome.PutCardInPlay, cards, target1, game)) { Card card = cards.get(target1.getFirstTarget(), game);