Menu

Submission for Snapping Thragg

233

Config

name=Snapping Thragg
image=http://mtgimage.com/card/snapping%20thragg.jpg
value=2.500
rarity=U
type=Creature
subtype=Beast
cost={4}{R}
pt=3/3
ability=Morph {4}{R}{R}
timing=main
requires_groovy_code
oracle=Whenever Snapping Thragg deals combat damage to a player, you may have it deal 3 damage to target creature that player controls. Morph {4}{R}{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(3),
                this,
                "PN may\$ have SN deal 3 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,3);
                    game.doAction(new MagicDealDamageAction(damage));
                });
            }
        }
    }
]
Pushed