wrapped long lines

master
melvin 2011-08-10 12:35:24 +08:00
parent e2dcaf6651
commit 32af5ce30f
1 changed files with 13 additions and 5 deletions

View File

@ -846,14 +846,22 @@ public class CardEventDefinitions {
@Override @Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) { public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
return new MagicEvent(cardOnStack.getCard(),cardOnStack.getController(),MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER, cardOnStack.getCard(),
new MagicDamageTargetPicker(3),new Object[]{cardOnStack},this,"Lightning Bolt deals 3 damage to target creature or player$."); cardOnStack.getController(),
MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER,
new MagicDamageTargetPicker(3),
new Object[]{cardOnStack},
this,
"Lightning Bolt deals 3 damage to target creature or player$.");
} }
@Override @Override
public void executeEvent(final MagicGame game,final MagicEvent event,final Object[] data,final Object[] choiceResults) { public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] data,
final Object[] choiceResults) {
final MagicCardOnStack cardOnStack=(MagicCardOnStack)data[0]; final MagicCardOnStack cardOnStack=(MagicCardOnStack)data[0];
game.doAction(new MagicMoveCardAction(cardOnStack)); game.doAction(new MagicMoveCardAction(cardOnStack));
final MagicTarget target=event.getTarget(game,choiceResults,0); final MagicTarget target=event.getTarget(game,choiceResults,0);