magarena/release/Magarena/scripts/Flight_of_Fancy.groovy

20 lines
604 B
Groovy
Raw Normal View History

2013-03-13 06:25:40 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
2012-06-17 05:19:08 -07:00
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
return new MagicEvent(
2012-09-21 19:19:41 -07:00
permanent,
this,
"PN draws two cards."
);
2012-06-17 05:19:08 -07:00
}
@Override
public void executeEvent(
2011-08-12 20:34:22 -07:00
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
2012-08-30 06:12:10 -07:00
game.doAction(new MagicDrawAction(event.getPlayer(),2));
2012-06-17 05:19:08 -07:00
}
2013-03-13 06:25:40 -07:00
}
]