replace groovy script with ability property

master
melvin 2013-10-16 11:51:50 +08:00
parent 844e943838
commit 2030412b6d
2 changed files with 1 additions and 17 deletions

View File

@ -1,16 +0,0 @@
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN gains 4 life."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicChangeLifeAction(event.getPlayer(),4));
}
}
]

View File

@ -5,5 +5,5 @@ value=2.500
rarity=C
type=Sorcery
cost={1}{W}
effect=PN gains 4 life.
timing=main
requires_groovy_code