magarena/release/Magarena/scripts/Boil.groovy

19 lines
560 B
Groovy

[
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) {
game.doAction(new MagicDestroyAction(
game.filterPermanents(MagicTargetFilter.TARGET_ISLAND)
));
}
}
]