Better builder AI / Various tweaks
This commit is contained in:
@@ -24,6 +24,7 @@ public class LiquidBulletType extends BulletType{
|
||||
this.status = liquid.effect;
|
||||
}
|
||||
|
||||
ammoMultiplier = 1f;
|
||||
lifetime = 74f;
|
||||
statusDuration = 60f * 2f;
|
||||
despawnEffect = Fx.none;
|
||||
|
||||
@@ -16,6 +16,7 @@ import static mindustry.Vars.*;
|
||||
public class AIController implements UnitController{
|
||||
protected static final Vec2 vec = new Vec2();
|
||||
protected static final int timerTarget = 0;
|
||||
protected static final int timerTarget2 = 1;
|
||||
|
||||
protected Unit unit;
|
||||
protected Interval timer = new Interval(4);
|
||||
@@ -27,6 +28,7 @@ public class AIController implements UnitController{
|
||||
|
||||
{
|
||||
timer.reset(0, Mathf.random(40f));
|
||||
timer.reset(1, Mathf.random(60f));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user