Less aggressive AI pursuit

This commit is contained in:
Anuken
2022-04-15 19:26:12 -04:00
parent 9def4b8d88
commit 2014d066e5
4 changed files with 15 additions and 4 deletions

View File

@@ -228,7 +228,8 @@ public class RtsAI{
if(defendPos != null){
unit.command().commandPosition(defendPos);
}else{
unit.command().commandTarget(defendTarget == null ? build : defendTarget);
//TODO stopAtTarget parameter could be false, could be tweaked
unit.command().commandTarget(defendTarget == null ? build : defendTarget, true);
}
}
}