Menu

Submission for Feral Lightning

97

Config

name=Feral Lightning
image=http://mtgimage.com/card/feral%20lightning.jpg
value=2.500
rarity=U
type=Sorcery
cost={3}{R}{R}{R}
timing=main
requires_groovy_code
oracle=Put three 3/1 red Elemental creature tokens with haste onto the battlefield. Exile them at the beginning of the next end step.

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                this,
                "Put three 3/1 red Elemental creature tokens with haste onto the battlefield. " + 
                "Exile them at the beginning of the next end step."
            );
        }
        
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            for (int x=3;x>0;x--) {
                game.doAction(new MagicPlayTokenAction(
                    event.getPlayer(), 
                    TokenCardDefinitions.get("3/1 red Elemental creature token with haste"),
                    MagicPlayMod.EXILE_AT_END_OF_TURN
                ));
            }     
        }
    }
]
Pushed