magarena/release/Magarena/scripts/Phyrexian_Prowler.groovy

29 lines
816 B
Groovy
Raw Normal View History

2013-05-18 05:50:23 -07:00
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.Pump),
2013-06-14 22:09:51 -07:00
"Pump"
) {
2013-06-23 18:29:26 -07:00
2013-05-18 05:50:23 -07:00
@Override
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
2013-05-18 05:50:23 -07:00
return [
new MagicRemoveCounterEvent(source,MagicCounterType.Charge,1)
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"SN gets +1/+1 until end of turn."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),1,1));
}
}
]