Menu

Submission for

Config

name=Simoon
url=http://magiccards.info/in/en/272.html
image=http://mtgimage.com/card/simoon.jpg
value=2.250
removal=2
rarity=U
type=Instant
cost={R}{G}
timing=removal
requires_groovy_code

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                MagicTargetChoice.NEG_TARGET_PLAYER,
                this,
                "SN deals 1 damage to each creature target player\$ " +
                "controls."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPlayer(game, {
                final MagicPlayer targetPlayer ->
                final Collection<MagicPermanent> targets = game.filterPermanents(
                        targetPlayer,
                        MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL);
                for (final MagicPermanent target : targets) {
                    final MagicDamage damage = new MagicDamage(
                        event.getSource(),
                        target,
                        1
                    );
                    game.doAction(new MagicDealDamageAction(damage));
                }
            });
        }
    }
]
Pushed