magarena/release/Magarena/scripts/Zhur_Taa_Swine.groovy

15 lines
568 B
Groovy

[
new MagicBloodrushActivation(
MagicManaCost.create("{1}{R}{G}"),
"Target attacking creature\$ gets +5/+4 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,4));
}
});
}
}
]