Allow Compy to activate abilities in Draw phase.

This commit is contained in:
slapshot5
2011-10-09 16:54:22 +00:00
parent 109e64ad6f
commit b849c0c5aa

View File

@@ -427,7 +427,6 @@ public class ComputerAI_General implements Computer {
sas = getOtherPhases(); sas = getOtherPhases();
boolean pass = (sas.length == 0) boolean pass = (sas.length == 0)
|| AllZone.getPhase().is(Constant.Phase.Draw, AllZone.getComputerPlayer())
|| AllZone.getPhase().is(Constant.Phase.End_Of_Turn, AllZone.getComputerPlayer()); || AllZone.getPhase().is(Constant.Phase.End_Of_Turn, AllZone.getComputerPlayer());
if (!pass) { // Each AF should check the phase individually if (!pass) { // Each AF should check the phase individually
pass = ComputerUtil.playCards(sas); pass = ComputerUtil.playCards(sas);