2013-08-24 19:31:50 -07:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
new MagicActivationHints(MagicTiming.Land),
|
|
|
|
"Search"
|
|
|
|
) {
|
|
|
|
|
|
|
|
@Override
|
2013-08-30 21:00:50 -07:00
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
2013-08-24 19:31:50 -07:00
|
|
|
return [
|
|
|
|
new MagicTapEvent(source),
|
|
|
|
new MagicPayLifeEvent(source,1),
|
|
|
|
new MagicSacrificeEvent(source)
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
this,
|
|
|
|
"PN searches his or her library for a Island or Swamp card and put it onto the battlefield. Then shuffle PN's library."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game,final MagicEvent event) {
|
2013-08-25 02:21:39 -07:00
|
|
|
game.addEvent(new MagicSearchOntoBattlefieldEvent(
|
|
|
|
event,
|
|
|
|
MagicTargetChoice.ISLAND_OR_SWAMP_CARD_FROM_LIBRARY
|
2013-08-24 19:31:50 -07:00
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|