From 7e38ed9c943269b8ee7380655e4e78df23b856a1 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 29 Apr 2020 21:49:20 -0400 Subject: [PATCH] fixed Curious Herd using the wrong Beast token --- Mage.Sets/src/mage/cards/c/CrusherZendikon.java | 12 ++++++------ Mage.Sets/src/mage/cards/c/CuriousHerd.java | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/CrusherZendikon.java b/Mage.Sets/src/mage/cards/c/CrusherZendikon.java index f8702b95518..474077c559d 100644 --- a/Mage.Sets/src/mage/cards/c/CrusherZendikon.java +++ b/Mage.Sets/src/mage/cards/c/CrusherZendikon.java @@ -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); } } diff --git a/Mage.Sets/src/mage/cards/c/CuriousHerd.java b/Mage.Sets/src/mage/cards/c/CuriousHerd.java index 10ef9eda521..e2812e6e374 100644 --- a/Mage.Sets/src/mage/cards/c/CuriousHerd.java +++ b/Mage.Sets/src/mage/cards/c/CuriousHerd.java @@ -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;