mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
* Evangel of Heliod - Fixed wrong color of tokens (were red instead of white) and removed haste ability from the created tokens.
This commit is contained in:
parent
971d54e9aa
commit
beffdd5a8a
1 changed files with 16 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ package mage.sets.theros;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
|
import mage.ObjectColor;
|
||||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||||
import mage.abilities.dynamicvalue.common.DevotionCount;
|
import mage.abilities.dynamicvalue.common.DevotionCount;
|
||||||
import mage.abilities.effects.common.CreateTokenEffect;
|
import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
|
|
@ -36,6 +37,7 @@ import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.ManaType;
|
import mage.constants.ManaType;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
|
import mage.game.permanent.token.Token;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
@ -54,7 +56,7 @@ public class EvangelOfHeliod extends CardImpl<EvangelOfHeliod> {
|
||||||
this.toughness = new MageInt(3);
|
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.
|
// 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) {
|
public EvangelOfHeliod(final EvangelOfHeliod card) {
|
||||||
|
|
@ -66,3 +68,16 @@ public class EvangelOfHeliod extends CardImpl<EvangelOfHeliod> {
|
||||||
return new EvangelOfHeliod(this);
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue