remove duplicate groovy code
parent
c36bd56d55
commit
bd3c75dd58
|
@ -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));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -7,4 +7,4 @@ rarity=R
|
|||
type=Sorcery
|
||||
cost={3}{W}
|
||||
timing=removal
|
||||
requires_groovy_code
|
||||
requires_groovy_code=Armageddon
|
||||
|
|
Loading…
Reference in New Issue