magarena/release/Magarena/scripts/Snapping_Creeper.groovy

24 lines
669 B
Groovy

[
new MagicLandfallTrigger() {
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"SN gains vigilance until end of turn."
);
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
game.doAction(new MagicSetAbilityAction(
event.getPermanent(),
MagicAbility.Vigilance
));
}
}
]