Menu

Submission for Aetherling

11

Config

name=Ætherling
image=http://mtgimage.com/card/aetherling.jpg
value=2.500
rarity=R
type=Creature
subtype=Shapeshifter
cost={4}{U}{U}
pt=4/5
ability={U}: SN can't be blocked this turn.;\
        {1}: SN gets +1/-1 until end of turn.;\
        {1}: SN gets -1/+1 until end of turn.
timing=main
requires_groovy_code
oracle={U}: Exile Ætherling. Return it to the battlefield under its owner's control at the beginning of the next end step. {U}: Ætherling can't be blocked this turn. {1}: Ætherling gets +1/-1 until end of turn. {1}: Ætherling gets -1/+1 until end of turn.

Script

[
    new MagicPermanentActivation(
        new MagicActivationHints(MagicTiming.Removal,1),
        "Exile"
    ) {
        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
            return [
                new MagicPayManaCostEvent(source,"{U}"),
                new MagicPlayAbilityEvent(source)
            ];
        }
        @Override
        public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
            return new MagicEvent(
                source,
                this,
                "Exile SN. Return it to the battlefield " +
                "under your control at the beginning of the next end step."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicExileUntilEndOfTurnAction(event.getPermanent()));
        }
    }
]
Pushed