magarena/release/Magarena/scripts/Wojek_Halberdiers.groovy

22 lines
650 B
Groovy

[
new MagicBattalionTrigger() {
@Override
public MagicEvent executeTrigger(
final MagicGame game,
final MagicPermanent permanent,
final MagicPermanent attacker) {
return new MagicEvent(
permanent,
this,
"SN gains first strike until end of turn."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event) {
game.doAction(new MagicSetAbilityAction(event.getPermanent(),MagicAbility.FirstStrike));
}
}
]