Menu

Submission for Quicksilver Behemoth

30

Config

name=Quicksilver Behemoth
image=http://mtgimage.com/card/quicksilver%20behemoth.jpg
value=2.500
rarity=C
type=Creature
subtype=Beast
cost={6}{U}
pt=4/5
ability=Affinity for artifacts
timing=main
requires_groovy_code
oracle=Affinity for artifacts. When Quicksilver Behemoth attacks or blocks, return it to its owner's hand at end of combat.

Script

[
    new MagicWhenSelfAttacksTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent attacker) {
            return new MagicEvent(
                permanent,
                this,
                "Return SN to its owner's hand at end of combat."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicAddTriggerAction(
                event.getPermanent(),
                MagicAtEndOfCombatTrigger.Return
            ))
        }
    },
    new MagicWhenSelfBlocksTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent blocker) {
            return new MagicEvent(
                permanent,
                this,
                "Return SN to its owner's hand at end of combat."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicAddTriggerAction(
                event.getPermanent(),
                MagicAtEndOfCombatTrigger.Return
            ))
        }
    }
]
Pushed