magarena/release/Magarena/scripts/Boros_Mastiff.groovy

17 lines
562 B
Groovy
Raw Normal View History

2013-05-24 02:50:01 -07:00
[
new MagicBattalionTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPermanent attacker) {
return new MagicEvent(
permanent,
this,
"SN gains lifelink until end of turn."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicGainAbilityAction(event.getPermanent(),MagicAbility.Lifelink));
2013-05-24 02:50:01 -07:00
}
}
]