Menu

Submission for Thistledown Duo

152

Config

name=Thistledown Duo
url=http://magiccards.info/shm/en/152.html
image=http://magiccards.info/scans/en/shm/152.jpg
value=2.483
rarity=C
type=Creature
subtype=Kithkin,Soldier,Wizard
cost={2}{W/U}
pt=2/2
timing=main
requires_groovy_code

Script

[
    new MagicWhenOtherSpellIsCastTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicCardOnStack cardOnStack) {
            return (permanent.isFriend(cardOnStack) &&
                    cardOnStack.hasColor(MagicColor.White)) ?
                new MagicEvent(
                    permanent,
                    this,
                    "SN gets +1/+1 until the end of turn."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),1,1));
        }
    },
    new MagicWhenOtherSpellIsCastTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicCardOnStack cardOnStack) {
            return (permanent.isFriend(cardOnStack) &&
                    cardOnStack.hasColor(MagicColor.Blue)) ?
                new MagicEvent(
                    permanent,
                    this,
                    "SN gains flying until the end of turn."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicGainAbilityAction(event.getPermanent(), MagicAbility.Flying));
        }
    }
]
Pushed