mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
fix Avanger of Zendikar, tooltp for Phyrexian Rebirth
This commit is contained in:
parent
e22f4e5de8
commit
322fbdb1ae
2 changed files with 8 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue