- The AI will now also use abilities and spells during upkeep.

This commit is contained in:
Sloth
2011-09-30 11:43:30 +00:00
parent a618e13b20
commit b307b75258

View File

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