Menu

Submission for Damping Field

98

Comment

Adapting all of these from Stoic Angel

Config

name=Damping Field
image=http://mtgimage.com/card/damping%20field.jpg
value=2.500
rarity=U
type=Enchantment
cost={2}{W}
ability=artifacts have "SN doesn't untap during your untap step."
timing=enchantment
requires_groovy_code
oracle=Players can't untap more than one artifact during their untap steps.

Script

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