2013-03-18 06:10:20 -07:00
|
|
|
[
|
|
|
|
new MagicWhenBlocksTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2012-10-07 01:48:20 -07:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent blocker) {
|
2011-09-04 00:48:06 -07:00
|
|
|
final MagicPermanent blocked=permanent.getBlockedCreature();
|
2012-10-07 01:48:20 -07:00
|
|
|
return (permanent==blocker && blocked.isValid()) ?
|
2011-09-04 00:48:06 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
2012-10-06 20:32:09 -07:00
|
|
|
blocked,
|
2011-09-04 00:48:06 -07:00
|
|
|
this,
|
2012-10-07 01:48:20 -07:00
|
|
|
"RN doesn't untap during its controller's next untap step."
|
|
|
|
):
|
2011-09-04 01:19:43 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
2011-08-12 21:16:17 -07:00
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2012-10-06 20:32:09 -07:00
|
|
|
game.doAction(new MagicChangeStateAction(event.getRefPermanent(),MagicPermanentState.DoesNotUntapDuringNext,true));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-18 06:10:20 -07:00
|
|
|
}
|
|
|
|
]
|