magarena/release/Magarena/scripts/Blind_Creeper.groovy

17 lines
547 B
Groovy

[
new MagicWhenOtherSpellIsCastTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent source, final MagicCardOnStack other) {
return new MagicEvent(
source,
this,
"SN gets -1/-1 until end of turn."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),-1,-1));
}
}
]