From beffdd5a8a8b2b4aac968066e27fc094897910bb Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 19 Sep 2013 14:33:34 +0200 Subject: [PATCH] * Evangel of Heliod - Fixed wrong color of tokens (were red instead of white) and removed haste ability from the created tokens. --- .../src/mage/sets/theros/EvangelOfHeliod.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/sets/theros/EvangelOfHeliod.java b/Mage.Sets/src/mage/sets/theros/EvangelOfHeliod.java index 256b6312ff..06cab5026a 100644 --- a/Mage.Sets/src/mage/sets/theros/EvangelOfHeliod.java +++ b/Mage.Sets/src/mage/sets/theros/EvangelOfHeliod.java @@ -29,6 +29,7 @@ package mage.sets.theros; import java.util.UUID; import mage.MageInt; +import mage.ObjectColor; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.dynamicvalue.common.DevotionCount; import mage.abilities.effects.common.CreateTokenEffect; @@ -36,6 +37,7 @@ import mage.cards.CardImpl; import mage.constants.CardType; import mage.constants.ManaType; import mage.constants.Rarity; +import mage.game.permanent.token.Token; /** * @@ -54,7 +56,7 @@ public class EvangelOfHeliod extends CardImpl { this.toughness = new MageInt(3); // When Evangel of Heliod enters the battlefield, put a number of 1/1 white Soldier creature tokens onto the battlefield equal to your devotion to white. - this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new SoldierToken(), new DevotionCount(ManaType.WHITE)))); + this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new EvangelOfHeliodSoldierToken(), new DevotionCount(ManaType.WHITE)))); } public EvangelOfHeliod(final EvangelOfHeliod card) { @@ -66,3 +68,16 @@ public class EvangelOfHeliod extends CardImpl { return new EvangelOfHeliod(this); } } + +class EvangelOfHeliodSoldierToken extends Token { + + public EvangelOfHeliodSoldierToken() { + super("Soldier", "1/1 white Soldier creature tokens"); + cardType.add(CardType.CREATURE); + color = ObjectColor.WHITE; + subtype.add("Soldier"); + power = new MageInt(1); + toughness = new MageInt(1); + } + +}