30 lines
883 B
Groovy
30 lines
883 B
Groovy
[
|
|
new MagicPermanentActivation(
|
|
[MagicConditionFactory.ManaCost("{7}{W}")],
|
|
new MagicActivationHints(MagicTiming.Main,true),
|
|
"Life"
|
|
) {
|
|
|
|
@Override
|
|
public MagicEvent[] getCostEvent(final MagicPermanent source) {
|
|
return [new MagicPayManaCostEvent(source,source.getController(),MagicManaCost.create("{7}{W}"))];
|
|
}
|
|
|
|
@Override
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
source,
|
|
this,
|
|
"PN gains 5 life."
|
|
);
|
|
}
|
|
|
|
@Override
|
|
public void executeEvent(
|
|
final MagicGame game,
|
|
final MagicEvent event) {
|
|
game.doAction(new MagicChangeLifeAction(event.getPlayer(),5));
|
|
}
|
|
}
|
|
]
|