23 lines
716 B
Groovy
23 lines
716 B
Groovy
|
[
|
||
|
new MagicWhenBecomesBlockedTrigger() {
|
||
|
@Override
|
||
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent creature) {
|
||
|
return (creature == permanent) ?
|
||
|
new MagicEvent(
|
||
|
permanent,
|
||
|
this,
|
||
|
"Untap SN."
|
||
|
):
|
||
|
MagicEvent.NONE;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void executeEvent(
|
||
|
final MagicGame game,
|
||
|
final MagicEvent event,
|
||
|
final Object[] choiceResults) {
|
||
|
game.doAction(new MagicUntapAction(event.getPermanent()));
|
||
|
}
|
||
|
}
|
||
|
]
|