mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-31 18:04:21 +07:00
Misc tweaks
This commit is contained in:
parent
4ba5be8d31
commit
342a7abf9b
@ -43,7 +43,7 @@ public class HugAI extends AIController{
|
||||
}
|
||||
return false;
|
||||
})){
|
||||
if(unit.within(target, (unit.hitSize + (target instanceof Sized s ? s.hitSize() : 1f)) * 0.6f)){
|
||||
if(unit.within(target, (unit.hitSize + (target instanceof Sized s ? s.hitSize() : 1f)) * 0.5f)){
|
||||
//circle target
|
||||
unit.movePref(vec.set(target).sub(unit).rotate(90f).setLength(unit.speed()));
|
||||
}else{
|
||||
|
@ -4197,6 +4197,7 @@ public class Blocks{
|
||||
limitRange(9f);
|
||||
}};
|
||||
|
||||
if(false)
|
||||
fracture = new ItemTurret("fracture"){{
|
||||
requirements(Category.turret, with(Items.beryllium, 150, Items.silicon, 200, Items.graphite, 200, Items.carbide, 50));
|
||||
|
||||
@ -4278,7 +4279,6 @@ public class Blocks{
|
||||
rotateSpeed = 3f;
|
||||
|
||||
coolant = consume(new ConsumeLiquid(Liquids.water, 15f / 60f));
|
||||
limitRange();
|
||||
}};
|
||||
|
||||
//TODO 3 more turrets.
|
||||
|
@ -3913,7 +3913,6 @@ public class UnitTypes{
|
||||
omniMovement = false;
|
||||
rotateSpeed = 2.5f;
|
||||
drownTimeMultiplier = 2f;
|
||||
drawCell = false;
|
||||
segments = 3;
|
||||
drawBody = false;
|
||||
hidden = true;
|
||||
@ -3934,7 +3933,6 @@ public class UnitTypes{
|
||||
omniMovement = false;
|
||||
rotateSpeed = 1.7f;
|
||||
drownTimeMultiplier = 4f;
|
||||
drawCell = false;
|
||||
segments = 4;
|
||||
drawBody = false;
|
||||
hidden = true;
|
||||
|
@ -15,6 +15,7 @@ public class NeoplasmUnitType extends UnitType{
|
||||
outlineColor = Pal.neoplasmOutline;
|
||||
immunities.addAll(StatusEffects.burning, StatusEffects.melting);
|
||||
envDisabled = Env.none;
|
||||
drawCell = false;
|
||||
|
||||
abilities.add(new RegenAbility(){{
|
||||
//fully regen in 70 seconds
|
||||
|
Loading…
Reference in New Issue
Block a user