2013-03-18 02:54:10 -07:00
|
|
|
[
|
|
|
|
new MagicWhenDiscardedTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2013-03-01 20:00:57 -08:00
|
|
|
public MagicEvent getEvent(final MagicPermanent permanent,final MagicCard card) {
|
2013-06-06 07:09:45 -07:00
|
|
|
return permanent.isEnemy(card) ?
|
2011-08-13 07:51:18 -07:00
|
|
|
new MagicEvent(
|
2013-06-06 07:09:45 -07:00
|
|
|
permanent,
|
|
|
|
card.getOwner(),
|
|
|
|
this,
|
|
|
|
"PN loses 2 life."
|
|
|
|
):
|
2011-09-04 01:19:43 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
2013-06-06 07:09:45 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2012-08-30 07:34:53 -07:00
|
|
|
game.doAction(new MagicChangeLifeAction(event.getPlayer(),-2));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-18 02:54:10 -07:00
|
|
|
}
|
|
|
|
]
|