magarena/release/Magarena/scripts/Sacred_Nectar.groovy

17 lines
494 B
Groovy
Raw Normal View History

2013-10-13 20:25:50 -07:00
[
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));
}
}
]