magarena/release/Magarena/scripts/Temporal_Mastery.groovy

18 lines
641 B
Groovy
Raw Normal View History

2013-03-17 23:05:50 -07:00
[
new MagicSpellCardEvent() {
2012-06-17 05:19:08 -07:00
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Take an extra turn after this one. Exile SN."
);
2012-06-17 05:19:08 -07:00
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2012-06-01 21:47:37 -07:00
game.doAction(new MagicChangeExtraTurnsAction(event.getPlayer(),1));
2012-09-14 22:47:09 -07:00
game.doAction(new MagicChangeCardDestinationAction(event.getCardOnStack(),MagicLocationType.Exile));
2012-06-17 05:19:08 -07:00
}
2013-03-17 23:05:50 -07:00
}
]