magarena/release/Magarena/scripts/Time_Walk.groovy

19 lines
551 B
Groovy
Raw Normal View History

2013-03-13 06:22:53 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Take an extra turn after this one."
);
}
@Override
public void executeEvent(
final MagicGame game,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
2013-03-13 06:22:53 -07:00
game.doAction(new MagicChangeExtraTurnsAction(event.getPlayer(),1));
}
}
]