added Sharuum the Hegemon

master
melvin 2013-02-25 13:36:44 +08:00
parent e5b02f43fb
commit 6c782c082a
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,29 @@
[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
return new MagicEvent(
permanent,
new MagicMayChoice(
MagicTargetChoice.TARGET_ARTIFACT_CARD_FROM_GRAVEYARD,
),
new MagicGraveyardTargetPicker(true),
this,
"PN may\$ return target artifact card\$ from your graveyard to the battlefield."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
if (MagicMayChoice.isYesChoice(choiceResults[0])) {
event.processTargetCard(game,choiceResults,1,new MagicCardAction() {
public void doAction(final MagicCard card) {
game.doAction(new MagicReanimateAction(event.getPlayer(),card,MagicPlayCardAction.NONE));
}
});
}
}
}
]

View File

@ -0,0 +1,12 @@
name=Sharuum the Hegemon
url=http://magiccards.info/ala/en/194.html
image=http://magiccards.info/scans/en/ala/194.jpg
value=2.875
rarity=M
type=Legendary,Creature
subtype=Sphinx
cost={3}{W}{U}{B}
pt=5/5
ability=flying
timing=main
requires_groovy_code