Misc tweaks
This commit is contained in:
@@ -43,7 +43,7 @@ public class HugAI extends AIController{
|
|||||||
}
|
}
|
||||||
return false;
|
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
|
//circle target
|
||||||
unit.movePref(vec.set(target).sub(unit).rotate(90f).setLength(unit.speed()));
|
unit.movePref(vec.set(target).sub(unit).rotate(90f).setLength(unit.speed()));
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -4197,6 +4197,7 @@ public class Blocks{
|
|||||||
limitRange(9f);
|
limitRange(9f);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
if(false)
|
||||||
fracture = new ItemTurret("fracture"){{
|
fracture = new ItemTurret("fracture"){{
|
||||||
requirements(Category.turret, with(Items.beryllium, 150, Items.silicon, 200, Items.graphite, 200, Items.carbide, 50));
|
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;
|
rotateSpeed = 3f;
|
||||||
|
|
||||||
coolant = consume(new ConsumeLiquid(Liquids.water, 15f / 60f));
|
coolant = consume(new ConsumeLiquid(Liquids.water, 15f / 60f));
|
||||||
limitRange();
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//TODO 3 more turrets.
|
//TODO 3 more turrets.
|
||||||
|
|||||||
@@ -3913,7 +3913,6 @@ public class UnitTypes{
|
|||||||
omniMovement = false;
|
omniMovement = false;
|
||||||
rotateSpeed = 2.5f;
|
rotateSpeed = 2.5f;
|
||||||
drownTimeMultiplier = 2f;
|
drownTimeMultiplier = 2f;
|
||||||
drawCell = false;
|
|
||||||
segments = 3;
|
segments = 3;
|
||||||
drawBody = false;
|
drawBody = false;
|
||||||
hidden = true;
|
hidden = true;
|
||||||
@@ -3934,7 +3933,6 @@ public class UnitTypes{
|
|||||||
omniMovement = false;
|
omniMovement = false;
|
||||||
rotateSpeed = 1.7f;
|
rotateSpeed = 1.7f;
|
||||||
drownTimeMultiplier = 4f;
|
drownTimeMultiplier = 4f;
|
||||||
drawCell = false;
|
|
||||||
segments = 4;
|
segments = 4;
|
||||||
drawBody = false;
|
drawBody = false;
|
||||||
hidden = true;
|
hidden = true;
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ public class NeoplasmUnitType extends UnitType{
|
|||||||
outlineColor = Pal.neoplasmOutline;
|
outlineColor = Pal.neoplasmOutline;
|
||||||
immunities.addAll(StatusEffects.burning, StatusEffects.melting);
|
immunities.addAll(StatusEffects.burning, StatusEffects.melting);
|
||||||
envDisabled = Env.none;
|
envDisabled = Env.none;
|
||||||
|
drawCell = false;
|
||||||
|
|
||||||
abilities.add(new RegenAbility(){{
|
abilities.add(new RegenAbility(){{
|
||||||
//fully regen in 70 seconds
|
//fully regen in 70 seconds
|
||||||
|
|||||||
Reference in New Issue
Block a user