automatically pass if stack is empty and pass priority is true
parent
47363e56d2
commit
c09a25de02
|
@ -27,7 +27,6 @@ public class MagicPlayChoice extends MagicChoice {
|
|||
private static final Object PASS_CHOICE_RESULTS[]=new Object[]{MagicPlayChoiceResult.PASS};
|
||||
|
||||
private MagicPlayChoice() {
|
||||
|
||||
super("Choose a card or ability to play.");
|
||||
}
|
||||
|
||||
|
@ -88,9 +87,13 @@ public class MagicPlayChoice extends MagicChoice {
|
|||
} else {
|
||||
validChoices=getValidChoices(game,player);
|
||||
}
|
||||
if (validChoices.isEmpty()&&game.canSkipSingleChoice()) {
|
||||
|
||||
if (validChoices.isEmpty() && game.canSkipSingleChoice()) {
|
||||
return PASS_CHOICE_RESULTS;
|
||||
}
|
||||
if (game.getStack().isEmpty() && game.getPassPriority()) {
|
||||
return PASS_CHOICE_RESULTS;
|
||||
}
|
||||
|
||||
controller.focusViewers(0,0);
|
||||
if (validChoices.isEmpty()) {
|
||||
|
@ -140,4 +143,4 @@ public class MagicPlayChoice extends MagicChoice {
|
|||
|
||||
return INSTANCE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue