From 342a7abf9bfd4617a16e06cde54b332184e67209 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 23 Jun 2022 14:55:08 -0400 Subject: [PATCH] Misc tweaks --- core/src/mindustry/ai/types/HugAI.java | 2 +- core/src/mindustry/content/Blocks.java | 2 +- core/src/mindustry/content/UnitTypes.java | 2 -- core/src/mindustry/type/unit/NeoplasmUnitType.java | 1 + 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/src/mindustry/ai/types/HugAI.java b/core/src/mindustry/ai/types/HugAI.java index d6e45467d0..ff672ff5bc 100644 --- a/core/src/mindustry/ai/types/HugAI.java +++ b/core/src/mindustry/ai/types/HugAI.java @@ -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{ diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index 14983498af..a77eb08848 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -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. diff --git a/core/src/mindustry/content/UnitTypes.java b/core/src/mindustry/content/UnitTypes.java index 8a07e98f4c..d75ffd0821 100644 --- a/core/src/mindustry/content/UnitTypes.java +++ b/core/src/mindustry/content/UnitTypes.java @@ -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; diff --git a/core/src/mindustry/type/unit/NeoplasmUnitType.java b/core/src/mindustry/type/unit/NeoplasmUnitType.java index f72006a8da..050c858eb0 100644 --- a/core/src/mindustry/type/unit/NeoplasmUnitType.java +++ b/core/src/mindustry/type/unit/NeoplasmUnitType.java @@ -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