- Skip Human's Declare Blockers step if all Attackers have been removed from Combat during Declare Attackers step.

This commit is contained in:
jendave
2011-08-06 10:34:06 +00:00
parent 22814e2019
commit e16fe6d54c

View File

@@ -77,8 +77,14 @@ public class InputControl extends MyObservable implements java.io.Serializable {
}
else{
// test this. probably should just call Input_Block and let block pass along?
if(AllZone.Combat.getAttackers().length == 0)
if(AllZone.Combat.getAttackers().length == 0){
if (AllZone.pwCombat.getAttackers().length != 0)
return new Input_Block_Planeswalker();
// no active attackers, skip the Blocking phase
AllZone.Phase.setNeedToNextPhase(true);
return null;
}
else
return new Input_Block();
}