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