Menu

Submission for Flame-Kin War Scout

61

Config

name=Flame-Kin War Scout
image=http://mtgimage.com/card/flame-kin%20war%20scout.jpg
value=2.500
rarity=U
type=Creature
subtype=Elemental,Scout
cost={3}{R}
pt=2/4
timing=main
requires_groovy_code
oracle=When another creature enters the battlefield, sacrifice Flame-Kin War Scout. If you do, Flame-Kin War Scout deals 4 damage to that creature.

Script

[
    new MagicWhenOtherComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {
            return (otherPermanent != permanent &&
                    otherPermanent.isCreature()) ?
                new MagicEvent(
                    permanent,
                    otherPermanent,
                    this,
                    "When another creature enters the battlefield, sacrifice Flame-Kin War Scout. If you do, Flame-Kin War Scout deals 4 damage to that creature."
                ):
                MagicEvent.NONE;
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            final MagicSacrificeAction sac = new MagicSacrificeAction(event.getPermanent());
            game.doAction(sac);
            if (sac.isValid()) {
                game.doAction(new MagicDealDamageAction(event.getPermanent(),event.getRefPermanent(),4));
            }
        }
    }
]
Pushed