fix Avanger of Zendikar, tooltp for Phyrexian Rebirth

This commit is contained in:
Loki 2011-05-24 16:33:44 +03:00
parent e22f4e5de8
commit 322fbdb1ae
2 changed files with 8 additions and 2 deletions

View file

@ -93,7 +93,12 @@ public class PhyrexianRebirth extends CardImpl<PhyrexianRebirth> {
public PhyrexianRebirthEffect copy() { public PhyrexianRebirthEffect copy() {
return new PhyrexianRebirthEffect(this); 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 { class HorrorToken extends Token {
public HorrorToken() { public HorrorToken() {

View file

@ -42,6 +42,7 @@ import mage.abilities.effects.common.counter.AddPlusOneCountersControlledEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.filter.Filter.ComparisonScope; import mage.filter.Filter.ComparisonScope;
import mage.filter.FilterPermanent; import mage.filter.FilterPermanent;
import mage.filter.common.FilterControlledPermanent;
import mage.game.Game; import mage.game.Game;
import mage.game.permanent.token.PlantToken; import mage.game.permanent.token.PlantToken;
import mage.game.permanent.token.Token; import mage.game.permanent.token.Token;
@ -82,7 +83,7 @@ public class AvengerofZendikar extends CardImpl<AvengerofZendikar> {
} }
class AvengerofZendikarTokensCreateEffect extends OneShotEffect<AvengerofZendikarTokensCreateEffect> { class AvengerofZendikarTokensCreateEffect extends OneShotEffect<AvengerofZendikarTokensCreateEffect> {
private static FilterPermanent filter = new FilterPermanent(); private static FilterControlledPermanent filter = new FilterControlledPermanent();
private Token token = new PlantToken(); private Token token = new PlantToken();
static { static {