Menu

Submission for Mana Skimmer

117

Config

name=Mana Skimmer
image=http://mtgimage.com/card/mana%20skimmer.jpg
value=2.500
rarity=C
type=Creature
subtype=Leech
cost={3}{B}
pt=2/2
ability=Flying
timing=main
requires_groovy_code
oracle=Flying. Whenever Mana Skimmer deals damage to a player, tap target land that player controls. That land doesn't untap during its controller's next untap step.

Script

[
    new MagicWhenSelfCombatDamagePlayerTrigger() {     
	   @Override
           public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {    
	        return new MagicEvent(
                permanent,
                MagicTargetChoice.NEG_TARGET_LAND,
                MagicTapTargetPicker.Tap,
                this,
                "Tap target land\$ defending player controls. It doesn't untap during its controller's next untap step."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPermanent(game, {
		game.doAction(new MagicTapAction(it));
                game.doAction(MagicChangeStateAction.Set(
                    it,
                    MagicPermanentState.DoesNotUntapDuringNext
                ));
            });
        }
    }
]
Pushed