2013-05-18 19:48:22 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
MagicTargetChoice.TARGET_PERMANENT,
|
2013-06-30 01:53:17 -07:00
|
|
|
MagicBounceTargetPicker.create(),
|
2013-05-18 19:48:22 -07:00
|
|
|
this,
|
|
|
|
"Return target permanent\$ to its owner's hand. Then that player discards a card."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
event.processTargetPermanent(game,new MagicPermanentAction() {
|
|
|
|
public void doAction(final MagicPermanent permanent) {
|
|
|
|
game.doAction(new MagicRemoveFromPlayAction(permanent,MagicLocationType.OwnersHand));
|
2013-06-21 20:55:22 -07:00
|
|
|
game.addEvent(new MagicDiscardEvent(event.getSource(),permanent.getOwner()));
|
2013-05-18 19:48:22 -07:00
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|