Menu

Submission for Stoic Angel

199

Comment

Works as it is. But since there is no MagicAtUntapTrigger I used the MagicAtUpkeepTrigger. Should you implement said MagicAtUntapTrigger anytime in the future, just exchange it.

Config

name=Stoic Angel
url=http://magiccards.info/query?q=%21stoic%20angel
image=http://mtgimage.com/card/stoic%20angel.jpg
value=3.954
rarity=R
type=Creature
subtype=Angel
cost={1}{G}{W}{U}
pt=3/4
ability=flying;vigilance;\
        lord creatures have "SN doesn't untap during your untap step."
timing=main
requires_groovy_code

Script

[
    new MagicAtUpkeepTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPlayer upkeepPlayer) {
            return new MagicEvent(
                permanent,
                upkeepPlayer,
                MagicTargetChoice.CREATURE_YOU_CONTROL,
                MagicTapTargetPicker.Untap,
                this,
                "PN untaps a creature PN controls\$."
            );
        }
        @Override
        public void executeEvent(final MagicGame game,final MagicEvent event) {
            event.processTargetPermanent(game, {
                final MagicPermanent target ->
                game.doAction(new MagicUntapAction(target));
            });
        }
    }
]
Pushed