magarena/release/Magarena/scripts/Boil.groovy

19 lines
560 B
Groovy
Raw Normal View History

2013-10-12 19:39:19 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Destroy all Islands."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-10-12 20:27:08 -07:00
game.doAction(new MagicDestroyAction(
game.filterPermanents(MagicTargetFilter.TARGET_ISLAND)
));
2013-10-12 19:39:19 -07:00
}
}
]