Add script for Phantasmal Abomination

master
ember hauler 2013-09-13 17:17:41 +00:00
parent 6929bab009
commit 54ad2a437a
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,19 @@
[
new MagicWhenTargetedTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicItemOnStack target) {
return target.containsInChoiceResults(permanent) ?
new MagicEvent(
permanent,
this,
"Sacrifice SN."
):
MagicEvent.NONE;
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicSacrificeAction(event.getPermanent()));
}
}
]

View File

@ -0,0 +1,13 @@
name=Phantasmal Abomination
url=http://magiccards.info/roe/en/80.html
image=http://magiccards.info/scans/en/roe/80.jpg
value=2.607
rarity=U
type=Creature
subtype=Illusion
cost={1}{U}{U}
pt=5/5
ability=defender
static=player
timing=main
requires_groovy_code