Menu

Submission for Atarka, World Render

161

Config

name=Atarka, World Render
image=http://mtgimage.com/card/atarka%2C%20world%20render.jpg
value=2.500
rarity=R
type=Legendary,Creature
subtype=Dragon
cost={5}{R}{G}
pt=6/4
ability=Flying; trample
timing=main
requires_groovy_code
oracle=Flying, trample. Whenever a Dragon you control attacks, it gains double strike until end of turn.

Script

def EFFECT = MagicRuleEventAction.create("SN gains double strike until end of turn.");

[
    new MagicWhenAttacksTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent creature) {
            return (creature.isFriend(permanent) &&
                    creature.hasSubType(MagicSubType.Dragon)) ?
                EFFECT.getEvent(permanent):
                MagicEvent.NONE;
        }
    }
]
Pushed