[ new MagicWhenLeavesPlayTrigger() { @Override public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicRemoveFromPlayAction act) { return act.isPermanent(permanent) ? new MagicEvent( permanent, this, "PN draws a card." ) : MagicEvent.NONE; } @Override public void executeEvent(final MagicGame game, final MagicEvent event) { game.doAction(new MagicDrawAction(event.getPlayer())); } } ]