29 lines
873 B
Groovy
29 lines
873 B
Groovy
[
|
|
new MagicPermanentActivation(
|
|
[
|
|
MagicConditionFactory.ManaCost("{1}{U}{R}")
|
|
],
|
|
new MagicActivationHints(MagicTiming.Pump),
|
|
"Pump") {
|
|
@Override
|
|
public MagicEvent[] getCostEvent(final MagicPermanent source) {
|
|
return [new MagicPayManaCostEvent(source,"{1}{U}{R}")];
|
|
}
|
|
@Override
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
source,
|
|
this,
|
|
"SN gets +3/+0 and gains flying until end of turn."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(
|
|
final MagicGame game,
|
|
final MagicEvent event) {
|
|
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),3,0));
|
|
game.doAction(new MagicSetAbilityAction(event.getPermanent(),MagicAbility.Flying));
|
|
}
|
|
}
|
|
]
|