2013-05-17 21:35:26 -07:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
[MagicCondition.YOUR_UPKEEP_CONDITION],
|
|
|
|
new MagicActivationHints(MagicTiming.None),
|
2013-06-14 22:08:34 -07:00
|
|
|
"Life+4"
|
|
|
|
) {
|
2013-05-17 21:35:26 -07:00
|
|
|
@Override
|
2013-08-30 21:00:50 -07:00
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
2013-05-17 21:35:26 -07:00
|
|
|
return [new MagicSacrificeEvent(source)];
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
this,
|
|
|
|
"PN gains 4 life."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
game.doAction(new MagicChangeLifeAction(event.getPlayer(),4));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|