Add Volrath's Stronghold
parent
2821b372bf
commit
3a449d2dbc
|
@ -0,0 +1,36 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Main),
|
||||
"Card"
|
||||
) {
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicTapEvent(source),
|
||||
new MagicPayManaCostEvent(source,"{1}{B}")
|
||||
];
|
||||
}
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.TARGET_CREATURE_CARD_FROM_GRAVEYARD,
|
||||
MagicGraveyardTargetPicker.ReturnToHand,
|
||||
this,
|
||||
"Put target creature card\$ from your graveyard on top of your library"
|
||||
);
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetCard(game, {
|
||||
final MagicCard targetCard ->
|
||||
game.doAction(new MagicRemoveCardAction(targetCard,MagicLocationType.Graveyard));
|
||||
game.doAction(new MagicMoveCardAction(
|
||||
targetCard,
|
||||
MagicLocationType.Graveyard,
|
||||
MagicLocationType.TopOfOwnersLibrary
|
||||
));
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,9 @@
|
|||
name=Volrath's Stronghold
|
||||
url=http://www.magiccards.info/query?q=%21volrath%27s%20stronghold
|
||||
image=http://mtgimage.com/card/volrath's%20stronghold.jpg
|
||||
value=4.621
|
||||
rarity=R
|
||||
type=Legendary,Land
|
||||
ability=tap add mana {1}
|
||||
timing=land
|
||||
requires_groovy_code
|
Loading…
Reference in New Issue