2013-04-12 19:58:51 -07:00
|
|
|
[
|
|
|
|
new MagicWhenDiscardedTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicPermanent permanent,final MagicCard card) {
|
|
|
|
return permanent.isEnemy(card) ?
|
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
card.getController(),
|
|
|
|
this,
|
|
|
|
"SN deals 2 damage to PN."
|
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-15 07:08:11 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
final MagicDamage damage = new MagicDamage(
|
|
|
|
event.getSource(),
|
|
|
|
event.getPlayer(),
|
|
|
|
2
|
|
|
|
);
|
|
|
|
game.doAction(new MagicDealDamageAction(damage));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|