Menu

Submission for Hunted Wumpus

269

Config

name=Hunted Wumpus
image=http://mtgimage.com/card/hunted%20wumpus.jpg
value=2.500
rarity=U
type=Creature
subtype=Beast
cost={3}{G}
pt=6/6
timing=main
requires_groovy_code
oracle=When Hunted Wumpus enters the battlefield, each other player may put a creature card from his or her hand onto the battlefield.

Script

def choice = new MagicTargetChoice("a creature card from your hand");

[
    new MagicWhenComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
            return new MagicEvent(
                permanent,
                permanent.getOpponent(),
                this,
                "PN may put a creature card from his or her hand onto the battlefield."
            );
        }
        
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
                game.addEvent(new MagicPutOntoBattlefieldEvent(
                    event,
                    new MagicMayChoice(choice)
                ));

        }
    }
]
Pushed