[ new MagicSpellCardEvent() { @Override public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) { return new MagicEvent( cardOnStack, MagicTargetChoice.NEG_TARGET_CREATURE, MagicExileTargetPicker.create(), this, "Exile target creature\$. Its controller gains life equal to its power." ); } @Override public void executeEvent(final MagicGame game, final MagicEvent event) { event.processTargetPermanent(game,new MagicPermanentAction() { public void doAction(final MagicPermanent creature) { game.doAction(new MagicRemoveFromPlayAction(creature,MagicLocationType.Exile)); game.doAction(new MagicChangeLifeAction( creature.getController(), creature.getPower() )); } }); } } ]