[ new MagicSpellCardEvent() { @Override public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) { return new MagicEvent( cardOnStack, this, "PN may play up to three additional lands this turn." ); } @Override public void executeEvent( final MagicGame outerGame, final MagicEvent event, final Object[] choiceResults) { outerGame.doAction(new MagicAddStaticAction(MagicPermanent.NONE, new MagicStatic(MagicLayer.Game, MagicStatic.UntilEOT) { @Override public void modGame(final MagicPermanent source, final MagicGame game) { game.incMaxLand(); game.incMaxLand(); game.incMaxLand(); } @Override public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) { return game.getTurnPlayer() == event.getPlayer(); } } )); } } ]