Menu

Submission for Mana Short

86

Comment

I gave this some thought and concluded that, given that Magarena doesn't have the mana pool, this card actually looks implementable. For Magarena, it's simply a tap all lands effect, as nobody can ever have mana in the mana pool. Please review it, but I believe it should be OK?

Config

name=Mana Short
image=http://magiccards.info/scans/en/7e/86.jpg
value=4.377
rarity=R
type=Instant
cost={2}{U}
timing=tapping
requires_groovy_code
oracle=Tap all lands target player controls and empty his or her mana pool.

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,

                NEG_TARGET_PLAYER,
                this,
                "Tap all lands target player\$ controls."
            );
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPlayer(game, {
                LAND_YOU_CONTROL.filter(it) each {
                    final MagicPermanent land ->
                    game.doAction(new TapAction(land));
                }
            });
        }
    }
]
Pushed