19 lines
661 B
Groovy
19 lines
661 B
Groovy
[
|
|
new MagicWhenOtherSpellIsCastTrigger() {
|
|
@Override
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicCardOnStack cardOnStack) {
|
|
return cardOnStack.hasColor(MagicColor.Black) ?
|
|
new MagicEvent(
|
|
permanent,
|
|
this,
|
|
"SN gets +2/+2 until end of turn."
|
|
):
|
|
MagicEvent.NONE;
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),2,2));
|
|
}
|
|
}
|
|
]
|