Menu

Submission for Emberstrike Duo

185

Config

name=Emberstrike Duo
url=http://magiccards.info/shm/en/185.html
image=http://magiccards.info/scans/en/shm/185.jpg
value=2.716
rarity=C
type=Creature
subtype=Elemental,Shaman,Warrior
cost={1}{B/R}
pt=1/1
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.Black)) ?
                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.Red)) ?
                new MagicEvent(
                    permanent,
                    this,
                    "SN gains first strike until the end of turn."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicGainAbilityAction(event.getPermanent(), MagicAbility.FirstStrike));
        }
    }
]
Pushed