From 322fbdb1ae7a1a09831961846d135c60cdcec4d9 Mon Sep 17 00:00:00 2001 From: Loki Date: Tue, 24 May 2011 16:33:44 +0300 Subject: [PATCH] fix Avanger of Zendikar, tooltp for Phyrexian Rebirth --- .../src/mage/sets/mirrodinbesieged/PhyrexianRebirth.java | 7 ++++++- Mage.Sets/src/mage/sets/worldwake/AvengerofZendikar.java | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/mirrodinbesieged/PhyrexianRebirth.java b/Mage.Sets/src/mage/sets/mirrodinbesieged/PhyrexianRebirth.java index e04660bd3b..c332ecadd0 100644 --- a/Mage.Sets/src/mage/sets/mirrodinbesieged/PhyrexianRebirth.java +++ b/Mage.Sets/src/mage/sets/mirrodinbesieged/PhyrexianRebirth.java @@ -93,7 +93,12 @@ public class PhyrexianRebirth extends CardImpl { public PhyrexianRebirthEffect copy() { return new PhyrexianRebirthEffect(this); } - } + + @Override + public String getText(Ability source) { + return "Destroy all creatures, then put an X/X colorless Horror artifact creature token onto the battlefield, where X is the number of creatures destroyed this way"; + } + } class HorrorToken extends Token { public HorrorToken() { diff --git a/Mage.Sets/src/mage/sets/worldwake/AvengerofZendikar.java b/Mage.Sets/src/mage/sets/worldwake/AvengerofZendikar.java index e0f29e2457..04dc4e77ac 100644 --- a/Mage.Sets/src/mage/sets/worldwake/AvengerofZendikar.java +++ b/Mage.Sets/src/mage/sets/worldwake/AvengerofZendikar.java @@ -42,6 +42,7 @@ import mage.abilities.effects.common.counter.AddPlusOneCountersControlledEffect; import mage.cards.CardImpl; import mage.filter.Filter.ComparisonScope; import mage.filter.FilterPermanent; +import mage.filter.common.FilterControlledPermanent; import mage.game.Game; import mage.game.permanent.token.PlantToken; import mage.game.permanent.token.Token; @@ -82,7 +83,7 @@ public class AvengerofZendikar extends CardImpl { } class AvengerofZendikarTokensCreateEffect extends OneShotEffect { - private static FilterPermanent filter = new FilterPermanent(); + private static FilterControlledPermanent filter = new FilterControlledPermanent(); private Token token = new PlantToken(); static {