remove redundant groovy code
parent
6ddba423b2
commit
479efb7ec7
|
@ -1,35 +0,0 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Removal),
|
||||
"Exile"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicPayManaCostTapEvent(source,"{4}"),
|
||||
new MagicExileEvent(source)
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.NEG_TARGET_CREATURE,
|
||||
MagicExileTargetPicker.create(),
|
||||
this,
|
||||
"Exile target creature\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent creature) {
|
||||
game.doAction(new MagicRemoveFromPlayAction(creature,MagicLocationType.Exile));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue