magarena/release/Magarena/scripts/Viashino_Shanktail.groovy

16 lines
685 B
Groovy
Raw Normal View History

2013-02-15 21:08:07 -08:00
[
new MagicBloodrushActivation(
MagicManaCost.create("{2}{R}"),
2013-02-15 21:08:07 -08:00
"Target attacking creature\$ gets +3/+1 and gains first strike 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,3,1));
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.FirstStrike));
}
});
}
}
]