magarena/release/Magarena/scripts/Knight_of_the_Skyward_Eye.g...

27 lines
845 B
Groovy
Raw Normal View History

2013-05-16 01:13:37 -07:00
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.Pump),
2013-06-14 22:03:50 -07:00
"Pump"
) {
2013-05-16 01:13:37 -07:00
@Override
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
2013-05-16 01:13:37 -07:00
return [
2013-05-21 19:54:06 -07:00
new MagicPayManaCostEvent(source,"{3}{G}"),
2013-05-16 01:13:37 -07:00
new MagicPlayAbilityEvent(source)
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"SN gets +3/+3 until end of turn."
);
}
@Override
2013-06-14 20:22:14 -07:00
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-05-16 01:13:37 -07:00
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),3,3));
}
}
]