2013-04-12 19:58:51 -07:00
|
|
|
[
|
|
|
|
new MagicWhenAttacksUnblockedTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent creature) {
|
|
|
|
return (creature == permanent) ?
|
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
2013-06-06 07:09:45 -07:00
|
|
|
game.getDefendingPlayer(),
|
2013-04-12 19:58:51 -07:00
|
|
|
this,
|
|
|
|
"PN gets a poison counter."
|
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-06 07:09:45 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
game.doAction(new MagicChangePoisonAction(event.getPlayer(),1));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|