remove duplicate groovy code

master
melvin 2013-05-24 17:42:12 +08:00
parent c36bd56d55
commit bd3c75dd58
2 changed files with 1 additions and 19 deletions

View File

@ -1,18 +0,0 @@
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"Destroy all lands."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
final Collection<MagicPermanent> targets=
game.filterPermanents(event.getPlayer(),MagicTargetFilter.TARGET_LAND);
game.doAction(new MagicDestroyAction(targets));
}
}
]

View File

@ -7,4 +7,4 @@ rarity=R
type=Sorcery
cost={3}{W}
timing=removal
requires_groovy_code
requires_groovy_code=Armageddon