magarena/release/Magarena/scripts/Scorchwalker.groovy

15 lines
560 B
Groovy
Raw Normal View History

2013-02-14 06:36:43 -08:00
[
new MagicBloodrushActivation(
MagicManaCost.ONE_RED_RED,
"Target attacking creature\$ gets +5/+1 until end of turn.") {
@Override
public void executeEvent(final MagicGame game,final MagicEvent event,final Object[] choiceResults) {
event.processTargetPermanent(game,choiceResults,0,new MagicPermanentAction() {
public void doAction(final MagicPermanent creature) {
game.doAction(new MagicChangeTurnPTAction(creature,5,1));
}
});
}
}
]