removed Object[] data
parent
6e2a1b34a1
commit
726407bd08
|
@ -28,7 +28,6 @@ public class Kraken_s_Eye {
|
||||||
MagicSimpleMayChoice.GAIN_LIFE,
|
MagicSimpleMayChoice.GAIN_LIFE,
|
||||||
1,
|
1,
|
||||||
MagicSimpleMayChoice.DEFAULT_YES),
|
MagicSimpleMayChoice.DEFAULT_YES),
|
||||||
new Object[]{player},
|
|
||||||
this,
|
this,
|
||||||
player + " may$ gain 1 life.") :
|
player + " may$ gain 1 life.") :
|
||||||
MagicEvent.NONE;
|
MagicEvent.NONE;
|
||||||
|
@ -37,7 +36,7 @@ public class Kraken_s_Eye {
|
||||||
@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) {
|
||||||
if (MagicMayChoice.isYesChoice(choiceResults[0])) {
|
if (MagicMayChoice.isYesChoice(choiceResults[0])) {
|
||||||
game.doAction(new MagicChangeLifeAction((MagicPlayer)data[0],1));
|
game.doAction(new MagicChangeLifeAction(event.getPlayer(),1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue