Better builder AI / Various tweaks

This commit is contained in:
Anuken
2020-09-09 10:39:18 -04:00
parent d9a067b4d2
commit 6787bbdc05
5 changed files with 61 additions and 10 deletions

View File

@@ -24,6 +24,7 @@ public class LiquidBulletType extends BulletType{
this.status = liquid.effect;
}
ammoMultiplier = 1f;
lifetime = 74f;
statusDuration = 60f * 2f;
despawnEffect = Fx.none;

View File

@@ -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