replace groovy script with ability property
parent
5828a25da4
commit
3e8638730e
|
@ -1,16 +0,0 @@
|
||||||
[
|
|
||||||
new MagicSpellCardEvent() {
|
|
||||||
@Override
|
|
||||||
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
||||||
return new MagicEvent(
|
|
||||||
cardOnStack,
|
|
||||||
this,
|
|
||||||
"PN gains 7 life."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
||||||
game.doAction(new MagicChangeLifeAction(event.getPlayer(),7));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -5,5 +5,5 @@ value=1.353
|
||||||
rarity=C
|
rarity=C
|
||||||
type=Instant
|
type=Instant
|
||||||
cost={2}{W}{W}
|
cost={2}{W}{W}
|
||||||
|
effect=PN gains 7 life.
|
||||||
timing=draw
|
timing=draw
|
||||||
requires_groovy_code
|
|
||||||
|
|
Loading…
Reference in New Issue