2013-03-13 22:22:09 -07:00
|
|
|
[
|
|
|
|
new MagicWhenBecomesBlockedTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2012-10-07 02:21:51 -07:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent blocked) {
|
|
|
|
return (permanent == blocked) ?
|
2012-09-21 20:23:05 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"PN gains 2 life."
|
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
2011-10-09 00:30:10 -07:00
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2012-08-30 06:04:17 -07:00
|
|
|
game.doAction(new MagicChangeLifeAction(event.getPlayer(),2));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-13 22:22:09 -07:00
|
|
|
}
|
|
|
|
]
|