Add script for Zuran Orb

master
guest 2013-09-12 08:07:17 +00:00
parent 1e300192bc
commit 66d6f1d36c
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,28 @@
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.Draw),
"Draw"
) {
@Override
public MagicEvent[] getCostEvent(final MagicPermanent source) {
return [
new MagicSacrificePermanentEvent(
source,
MagicTargetChoice.SACRIFICE_LAND
)
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"PN gains 2 life"
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicChangeLifeAction(event.getPlayer(),2));
}
}
]

View File

@ -0,0 +1,9 @@
name=Zuran Orb
url=http://magiccards.info/fvr/en/15.html
image=http://magiccards.info/scans/en/fvr/15.jpg
value=4.500
rarity=U
type=Artifact
cost={0}
timing=main
requires_groovy_code