fixed Curious Herd using the wrong Beast token

This commit is contained in:
Evan Kranzler 2020-04-29 21:49:20 -04:00
parent 0c1fbe786a
commit 7e38ed9c94
2 changed files with 7 additions and 6 deletions

View file

@ -42,7 +42,7 @@ public final class CrusherZendikon extends CardImpl {
this.addAbility(ability);
// Enchanted land is a 4/2 red Beast creature with trample. It's still a land.
Ability ability2 = new SimpleStaticAbility(Zone.BATTLEFIELD, new BecomesCreatureAttachedEffect(
new BeastToken(), "Enchanted land is a 4/2 red Beast creature with trample. It's still a land.", Duration.WhileOnBattlefield, BecomesCreatureAttachedEffect.LoseType.COLOR));
new CrusherZendikonToken(), "Enchanted land is a 4/2 red Beast creature with trample. It's still a land.", Duration.WhileOnBattlefield, BecomesCreatureAttachedEffect.LoseType.COLOR));
this.addAbility(ability2);
// When enchanted land dies, return that card to its owner's hand.
Ability ability3 = new DiesAttachedTriggeredAbility(new ReturnToHandAttachedEffect(), "enchanted land", false);
@ -59,9 +59,9 @@ public final class CrusherZendikon extends CardImpl {
}
}
class BeastToken extends TokenImpl {
class CrusherZendikonToken extends TokenImpl {
BeastToken() {
CrusherZendikonToken() {
super("", "4/2 red Beast creature with trample");
cardType.add(CardType.CREATURE);
color.setRed(true);
@ -70,11 +70,11 @@ class BeastToken extends TokenImpl {
toughness = new MageInt(2);
this.addAbility(TrampleAbility.getInstance());
}
public BeastToken(final BeastToken token) {
public CrusherZendikonToken(final CrusherZendikonToken token) {
super(token);
}
public BeastToken copy() {
return new BeastToken(this);
public CrusherZendikonToken copy() {
return new CrusherZendikonToken(this);
}
}

View file

@ -8,6 +8,7 @@ import mage.constants.CardType;
import mage.constants.Outcome;
import mage.filter.StaticFilters;
import mage.game.Game;
import mage.game.permanent.token.BeastToken;
import mage.game.permanent.token.Token;
import mage.target.common.TargetOpponent;