Misc tweaks

This commit is contained in:
Anuken 2022-06-23 14:55:08 -04:00
parent 4ba5be8d31
commit 342a7abf9b
4 changed files with 3 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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