2013-03-13 06:25:26 -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) {
|
|
|
|
return new MagicEvent(
|
2012-09-21 19:26:00 -07:00
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"PN gains 1 life."
|
|
|
|
);
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
2011-09-04 10:56:10 -07:00
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2012-08-30 07:03:41 -07:00
|
|
|
game.doAction(new MagicChangeLifeAction(event.getPlayer(),1));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-13 06:25:26 -07:00
|
|
|
}
|
|
|
|
]
|