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);
}
}

View File

@@ -1267,7 +1267,7 @@ public class Blocks implements ContentList{
rotateSpeed = 1.4f;
attribute = Attribute.water;
consumes.power(1f);
consumes.power(1.25f);
}};
cultivator = new Cultivator("cultivator"){{

View File

@@ -1629,7 +1629,7 @@ public class UnitTypes implements ContentList{
mineTier = 1;
buildSpeed = 0.5f;
drag = 0.05f;
speed = 2.6f;
speed = 2.8f;
rotateSpeed = 15f;
accel = 0.1f;
itemCapacity = 30;
@@ -1663,7 +1663,7 @@ public class UnitTypes implements ContentList{
mineTier = 1;
buildSpeed = 0.75f;
drag = 0.05f;
speed = 2.9f;
speed = 3f;
rotateSpeed = 17f;
accel = 0.1f;
itemCapacity = 50;
@@ -1703,7 +1703,7 @@ public class UnitTypes implements ContentList{
mineTier = 2;
buildSpeed = 1f;
drag = 0.05f;
speed = 3.4f;
speed = 3.5f;
rotateSpeed = 19f;
accel = 0.11f;
itemCapacity = 70;