18 lines
641 B
Groovy
18 lines
641 B
Groovy
[
|
|
new MagicWhenBlocksOrBecomesBlockedTrigger() {
|
|
@Override
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent blocker) {
|
|
return new MagicEvent(
|
|
permanent,
|
|
permanent == blocker ? blocker.getBlockedCreature() : blocker,
|
|
this,
|
|
"RN gets +1/+1 until end of turn."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
game.doAction(new MagicChangeTurnPTAction(event.getRefPermanent(),1,1));
|
|
}
|
|
}
|
|
]
|