31 lines
973 B
Groovy
31 lines
973 B
Groovy
|
[
|
||
|
new MagicPermanentActivation(
|
||
|
[MagicCondition.ONE_CREATURE_CONDITION],
|
||
|
new MagicActivationHints(MagicTiming.Pump),
|
||
|
"Pump"
|
||
|
) {
|
||
|
@Override
|
||
|
public MagicEvent[] getCostEvent(final MagicPermanent source) {
|
||
|
return [
|
||
|
new MagicSacrificePermanentEvent(
|
||
|
source,
|
||
|
source.getController(),
|
||
|
MagicTargetChoice.SACRIFICE_CREATURE
|
||
|
)
|
||
|
];
|
||
|
}
|
||
|
@Override
|
||
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||
|
return new MagicEvent(
|
||
|
source,
|
||
|
this,
|
||
|
"SN gets +2/+1 until end of turn."
|
||
|
);
|
||
|
}
|
||
|
@Override
|
||
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||
|
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),2,1));
|
||
|
}
|
||
|
}
|
||
|
]
|