More RTS AI tweaks

This commit is contained in:
Anuken
2022-04-11 10:55:24 -04:00
parent 54d90633e7
commit bdeef68a0b
4 changed files with 6 additions and 6 deletions

View File

@@ -172,7 +172,7 @@ public class RtsAI{
//defend when close, or this is the only squad defending
//TODO will always rush to defense no matter what
if(best instanceof CoreBuild || (/*(units.size >= minSquadSize || best.within(ax, ay, 300f)) && */(noDefenders || best.within(ax, ay, 400f)))){
if(best instanceof CoreBuild || units.size >= minSquadSize || best.within(ax, ay, 500f)){
defend = best;
if(debug){