Menu

Submission for Boldwyr Heavyweights

85

Config

name=Boldwyr Heavyweights
image=http://mtgimage.com/card/boldwyr%20heavyweights.jpg
value=2.500
rarity=R
type=Creature
subtype=Giant,Warrior
cost={2}{R}{R}
pt=8/8
ability=Trample
timing=main
requires_groovy_code
oracle=Trample. When Boldwyr Heavyweights enters the battlefield, each opponent may search his or her library for a creature card and put it onto the battlefield. Then each player who searched his or her library this way shuffles it.

Script

[
    new MagicWhenComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
            return new MagicEvent(
                permanent,
                permanent.getOpponent(),
                new MagicMayChoice(
                "Search your library?"
                ),
                this,
                "PN may \$ search his or her library for a creature card, "+
                "and put it onto the battlefield. Then PN shuffles his or her library."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.addEvent(new MagicSearchOntoBattlefieldEvent(
                event,
                new MagicFromCardFilterChoice(
                    MagicTargetFilterFactory.CREATURE_CARD_FROM_LIBRARY,
                    1, 
                    true, 
                    "to put onto the battlefield"
                ),
            ));
        }
    }
]
Pushed