31 lines
920 B
Groovy
31 lines
920 B
Groovy
[
|
|
new MagicPermanentActivation(
|
|
[MagicCondition.CONTROL_BEAST_CONDITION],
|
|
new MagicActivationHints(MagicTiming.Pump,true),
|
|
"Life+4"
|
|
) {
|
|
|
|
@Override
|
|
public MagicEvent[] getCostEvent(final MagicPermanent source) {
|
|
return [
|
|
new MagicSacrificePermanentEvent(
|
|
source,
|
|
MagicTargetChoice.SACRIFICE_BEAST
|
|
)
|
|
];
|
|
}
|
|
@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));
|
|
}
|
|
}
|
|
]
|