magarena/release/Magarena/scripts/Slaughterhorn.groovy

15 lines
546 B
Groovy
Raw Normal View History

2013-02-15 21:07:16 -08:00
[
new MagicBloodrushActivation(
MagicManaCost.create("{G}"),
2013-02-15 21:07:16 -08:00
"Target attacking creature\$ gets +3/+2 until end of turn.") {
@Override
public void executeEvent(final MagicGame game,final MagicEvent event,final Object[] choiceResults) {
event.processTargetPermanent(game,new MagicPermanentAction() {
2013-02-15 21:07:16 -08:00
public void doAction(final MagicPermanent creature) {
game.doAction(new MagicChangeTurnPTAction(creature,3,2));
}
});
}
}
]