mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Skip Human's Declare Blockers step if all Attackers have been removed from Combat during Declare Attackers step.
This commit is contained in:
@@ -77,8 +77,14 @@ public class InputControl extends MyObservable implements java.io.Serializable {
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
// test this. probably should just call Input_Block and let block pass along?
|
// 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();
|
return new Input_Block_Planeswalker();
|
||||||
|
|
||||||
|
// no active attackers, skip the Blocking phase
|
||||||
|
AllZone.Phase.setNeedToNextPhase(true);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
return new Input_Block();
|
return new Input_Block();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user