magarena/incomplete/Palinchron.groovy

22 lines
664 B
Groovy

[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
return new MagicEvent(
permanent,
this,
"Untap up to seven lands."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.addEvent(new MagicRepeatedPermanentsEvent(
event.getSource(),
TARGET_LAND,
7,
MagicChainEventFactory.Untap
));
}
}
]