Menu

Submission for Peregrine Drake

64

Config

name=Peregrine Drake
image=http://magiccards.info/scans/en/pc2/22.jpg
value=2.500
rarity=U
type=Creature
subtype=Drake
cost={4}{U}
pt=2/3
ability=Flying
timing=main
requires_groovy_code
oracle=Flying. When Peregrine Drake enters the battlefield, untap up to five lands.

Script

[
    new MagicWhenComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
            return new MagicEvent(
                permanent,
                this,
                "Untap up to five lands."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.addEvent(new MagicRepeatedPermanentsEvent(
                event.getSource(),
                MagicTargetChoice.TARGET_LAND,
                5,
                MagicChainEventFactory.Untap
            ));
        }
    }
]
Pushed