Add script for Phantasmal Abomination
parent
6929bab009
commit
54ad2a437a
|
@ -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()));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -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
|
Loading…
Reference in New Issue