magarena/release/Magarena/scripts/Tivadar_s_Crusade.groovy

19 lines
570 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 Goblins."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-10-13 02:44:29 -07:00
game.doAction(new MagicDestroyAction(
game.filterPermanents(MagicTargetFilter.TARGET_GOBLIN_PERMANENT)
));
2013-10-12 19:39:19 -07:00
}
}
]