Menu

Submission for Evangel of Heliod

11

Config

name=Evangel of Heliod
url=http://magiccards.info/ths/en/11.html
image=http://magiccards.info/scans/en/ths/11.jpg
value=3.471
rarity=U
type=Creature
subtype=Human,Cleric
cost={4}{W}{W}
pt=1/3
timing=main
requires_groovy_code

Script

[
	new MagicWhenComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPayedCost payedCost) {
            return new MagicEvent(
                permanent,
                this,
                "PN puts a 1/1 white Soldier creature token onto the battlefield for each white mana symbol in the mana costs of permanents he or she controls."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            final int amount = event.getPlayer().getDevotion(MagicColor.White);
            game.doAction(new MagicPlayTokensAction(
                event.getPlayer(),
                TokenCardDefinitions.get("1/1 white Soldier creature token"),
                amount
            ));
        }
    }
]
Pushed