2013-03-18 02:50:50 -07:00
|
|
|
[
|
|
|
|
new MagicWhenAttacksTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent creature) {
|
2013-06-06 05:05:22 -07:00
|
|
|
return creature.isFriend(permanent) ?
|
2011-08-13 08:52:26 -07:00
|
|
|
new MagicEvent(
|
2013-06-06 05:05:22 -07:00
|
|
|
permanent,
|
|
|
|
creature,
|
|
|
|
this,
|
|
|
|
"RN gets +2/+2 until end of turn."
|
|
|
|
):
|
2011-09-04 01:19:43 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
2013-06-06 05:05:22 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2012-10-06 20:32:09 -07:00
|
|
|
game.doAction(new MagicChangeTurnPTAction(event.getRefPermanent(),2,2));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-18 02:50:50 -07:00
|
|
|
}
|
|
|
|
]
|