magarena/incomplete/Frantic_Search.groovy

24 lines
826 B
Groovy
Raw Normal View History

2015-04-01 12:12:38 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Draw two cards, then discard two cards. Untap up to three lands."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new DrawAction(event.getPlayer(),2));
2015-04-01 12:12:38 -07:00
game.addEvent(new MagicDiscardEvent(event.getSource(), event.getPlayer(), 2));
game.addEvent(new MagicRepeatedPermanentsEvent(
event.getSource(),
TARGET_LAND,
2015-04-01 12:12:38 -07:00
3,
MagicChainEventFactory.Untap
));
}
}
]