magarena/release/Magarena/scripts/Emrakul__the_Aeons_Torn.groovy

17 lines
547 B
Groovy

[
new MagicWhenSpellIsCastTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicCardOnStack spell) {
return new MagicEvent(
spell,
this,
"PN takes an extra turn after this one."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicChangeExtraTurnsAction(event.getPlayer(),1));
}
}
]