[ new MagicSpellCardEvent() { @Override public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) { return new MagicEvent( cardOnStack, MagicTargetChoice.NEG_TARGET_CREATURE, new MagicDamageTargetPicker(2), this, "SN deals 2 damage to target creature\$. " + "That creature can't block this turn." ); } @Override public void executeEvent(final MagicGame game, final MagicEvent event) { event.processTargetPermanent(game, { final MagicPermanent target -> game.doAction(new MagicDealDamageAction( new MagicDamage(event.getSource(),target,2) )); game.doAction(new MagicGainAbilityAction(target, MagicAbility.CannotBlock)); } as MagicPermanentAction); } } ]