Menu

Submission for Skirk Commando

47

Comment

Next 3 adapted from Mordant Dragon

Config

name=Skirk Commando
image=http://mtgimage.com/card/skirk%20commando.jpg
value=2.500
rarity=C
type=Creature
subtype=Goblin
cost={1}{R}{R}
pt=2/1
ability=Morph {2}{R}
timing=main
requires_groovy_code
oracle=Whenever Skirk Commando deals combat damage to a player, you may have it deal 2 damage to target creature that player controls. Morph {2}{R}

Script

[
    new MagicWhenSelfCombatDamagePlayerTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {
            return new MagicEvent(
                permanent,
                new MagicMayChoice(MagicTargetChoice.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS),
                new MagicDamageTargetPicker(2),
                this,
                "PN may\$ have SN deal 2 damage to target creature\$ your opponent controls."
            );
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            if (event.isYes()) {
                event.processTargetPermanent(game, {
                    final MagicDamage damage=new MagicDamage(event.getSource(),it,2);
                    game.doAction(new MagicDealDamageAction(damage));
                });
            }
        }
    }
]
Pushed