This commit is contained in:
Anuken
2020-09-23 15:21:06 -04:00
parent 84aa4ad602
commit 1cc8d7e3f4
13 changed files with 6 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ import mindustry.world.blocks.ConstructBlock.*;
import static mindustry.Vars.*;
public class BuilderAI extends AIController{
float buildRadius = 700;
float buildRadius = 1500;
boolean found = false;
@Nullable Builderc following;

View File

@@ -25,8 +25,7 @@ public class FlyingAI extends AIController{
}
if(command() == UnitCommand.rally){
target = targetFlag(unit.x, unit.y, BlockFlag.rally, false);
moveTo(target, 60f);
moveTo(targetFlag(unit.x, unit.y, BlockFlag.rally, false), 60f);
}
}