2013-05-28 02:35:53 -07:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
new MagicActivationHints(MagicTiming.Token),
|
2013-08-19 23:51:50 -07:00
|
|
|
"Put"
|
2013-05-28 02:35:53 -07:00
|
|
|
) {
|
|
|
|
@Override
|
2013-08-30 21:00:50 -07:00
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
2013-05-28 02:35:53 -07:00
|
|
|
return [
|
|
|
|
new MagicTapEvent(source),
|
|
|
|
new MagicPayManaCostEvent(source,"{G}")
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
2013-08-19 23:51:50 -07:00
|
|
|
MagicTargetChoice.CREATURE_CARD_FROM_HAND,
|
2013-09-06 06:22:54 -07:00
|
|
|
MagicGraveyardTargetPicker.PutOntoBattlefield,
|
2013-05-28 02:35:53 -07:00
|
|
|
this,
|
2013-08-19 23:51:50 -07:00
|
|
|
"PN puts a creature card\$ from his or her hand onto the battlefield."
|
2013-05-28 02:35:53 -07:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-12-01 00:44:42 -08:00
|
|
|
event.processTargetCard(game, {
|
|
|
|
final MagicCard card ->
|
|
|
|
game.doAction(new MagicRemoveCardAction(card,MagicLocationType.OwnersHand));
|
|
|
|
game.doAction(new MagicPlayCardAction(card,event.getPlayer()));
|
2013-05-28 02:35:53 -07:00
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|