wrapped long lines
parent
e2dcaf6651
commit
32af5ce30f
|
@ -846,14 +846,22 @@ public class CardEventDefinitions {
|
|||
|
||||
@Override
|
||||
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
||||
|
||||
return new MagicEvent(cardOnStack.getCard(),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$.");
|
||||
return new MagicEvent(
|
||||
cardOnStack.getCard(),
|
||||
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
|
||||
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];
|
||||
game.doAction(new MagicMoveCardAction(cardOnStack));
|
||||
final MagicTarget target=event.getTarget(game,choiceResults,0);
|
||||
|
|
Loading…
Reference in New Issue