2013-05-18 04:56:15 -07:00
|
|
|
[
|
|
|
|
new MagicWhenComesIntoPlayTrigger() {
|
2012-09-09 00:04:18 -07:00
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(
|
|
|
|
final MagicGame game,
|
|
|
|
final MagicPermanent permanent,
|
2013-06-23 18:29:26 -07:00
|
|
|
final MagicPayedCost payedCost) {
|
2013-06-19 07:23:35 -07:00
|
|
|
return payedCost.isKicked() ?
|
2012-09-09 00:04:18 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
MagicTargetChoice.NEG_TARGET_NONBASIC_LAND,
|
|
|
|
new MagicDestroyTargetPicker(false),
|
|
|
|
this,
|
2013-05-18 04:56:15 -07:00
|
|
|
"Destroy target nonbasic land\$."
|
2012-09-09 00:04:18 -07:00
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
2011-09-07 21:34:26 -07:00
|
|
|
@Override
|
2013-05-18 04:56:15 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-03-21 06:35:09 -07:00
|
|
|
event.processTargetPermanent(game,new MagicPermanentAction() {
|
2011-09-07 21:34:26 -07:00
|
|
|
public void doAction(final MagicPermanent land) {
|
|
|
|
game.doAction(new MagicDestroyAction(land));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
2013-05-18 04:56:15 -07:00
|
|
|
}
|
|
|
|
]
|