Add script for Zuran Orb
parent
1e300192bc
commit
66d6f1d36c
|
@ -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));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -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
|
Loading…
Reference in New Issue