2013-05-19 00:48:20 -07:00
|
|
|
[
|
|
|
|
new MagicWhenComesIntoPlayTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2013-06-19 07:23:35 -07:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPayedCost payedCost) {
|
2012-06-17 05:19:08 -07:00
|
|
|
return new MagicEvent(
|
2012-09-22 01:59:21 -07:00
|
|
|
permanent,
|
|
|
|
MagicTargetChoice.TARGET_CREATURE_CARD_FROM_OPPONENTS_GRAVEYARD,
|
|
|
|
new MagicGraveyardTargetPicker(true),
|
|
|
|
this,
|
2013-05-19 00:48:20 -07:00
|
|
|
"Put target creature card\$ in an opponent's graveyard onto the battlefield under your control. "+
|
2012-09-22 01:59:21 -07:00
|
|
|
"It has haste. At the end of your turn, exile it."
|
|
|
|
);
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2013-03-22 22:00:53 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-03-21 06:35:09 -07:00
|
|
|
event.processTargetCard(game,new MagicCardAction() {
|
2011-08-30 06:31:13 -07:00
|
|
|
public void doAction(final MagicCard card) {
|
|
|
|
game.doAction(new MagicReanimateAction(
|
2012-09-23 08:24:48 -07:00
|
|
|
event.getPlayer(),
|
|
|
|
card,
|
|
|
|
MagicPlayCardAction.HASTE_REMOVE_AT_END_OF_YOUR_TURN
|
|
|
|
));
|
2011-08-30 06:31:13 -07:00
|
|
|
}
|
2012-06-17 05:19:08 -07:00
|
|
|
});
|
|
|
|
}
|
2013-05-19 00:48:20 -07:00
|
|
|
}
|
|
|
|
]
|