17 lines
547 B
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));
|
|
}
|
|
}
|
|
]
|