mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- The AI will now also use abilities and spells during upkeep.
This commit is contained in:
@@ -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.Upkeep, AllZone.getComputerPlayer())
|
|
||||||
|| AllZone.getPhase().is(Constant.Phase.Draw, AllZone.getComputerPlayer())
|
|| 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
|
||||||
|
|||||||
Reference in New Issue
Block a user