2013-02-19 05:42:50 -08:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
|
|
|
@Override
|
2013-06-15 03:09:37 -07:00
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
|
2013-02-19 05:42:50 -08:00
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
MagicTargetChoice.NEG_TARGET_CREATURE,
|
2013-06-30 01:53:17 -07:00
|
|
|
MagicBounceTargetPicker.create(),
|
2013-02-19 05:42:50 -08:00
|
|
|
this,
|
|
|
|
"Exile target creature\$, then populate."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-15 03:09:37 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-03-21 06:35:09 -07:00
|
|
|
event.processTargetPermanent(game,new MagicPermanentAction() {
|
2013-02-19 05:42:50 -08:00
|
|
|
public void doAction(final MagicPermanent creature) {
|
|
|
|
game.doAction(new MagicRemoveFromPlayAction(creature,MagicLocationType.Exile));
|
|
|
|
game.addEvent(new MagicPopulateEvent(event.getSource()));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|