Misc tweaks & balancing

This commit is contained in:
Anuken
2022-10-01 20:31:54 -04:00
parent e66ac1a6f7
commit 31f3dc5514
4 changed files with 14 additions and 15 deletions

View File

@ -2790,7 +2790,7 @@ public class Blocks{
largePlasmaBore = new BeamDrill("large-plasma-bore"){{ largePlasmaBore = new BeamDrill("large-plasma-bore"){{
requirements(Category.production, with(Items.silicon, 100, Items.oxide, 25, Items.beryllium, 100, Items.tungsten, 70)); requirements(Category.production, with(Items.silicon, 100, Items.oxide, 25, Items.beryllium, 100, Items.tungsten, 70));
consumePower(0.8f); consumePower(0.8f);
drillTime = 110f; drillTime = 100f;
tier = 5; tier = 5;
size = 3; size = 3;

View File

@ -8,8 +8,6 @@ import mindustry.type.*;
import mindustry.type.unit.*; import mindustry.type.unit.*;
import mindustry.world.blocks.defense.turrets.*; import mindustry.world.blocks.defense.turrets.*;
import java.awt.*;
import static mindustry.Vars.*; import static mindustry.Vars.*;
import static mindustry.content.Blocks.*; import static mindustry.content.Blocks.*;
import static mindustry.content.SectorPresets.*; import static mindustry.content.SectorPresets.*;
@ -432,14 +430,15 @@ public class ErekirTechTree{
nodeProduce(Items.thorium, () -> { nodeProduce(Items.thorium, () -> {
nodeProduce(Items.carbide, () -> { nodeProduce(Items.carbide, () -> {
nodeProduce(Items.surgeAlloy, () -> {
nodeProduce(Items.phaseFabric, () -> {
});
});
//nodeProduce(Liquids.gallium, () -> {}); //nodeProduce(Liquids.gallium, () -> {});
}); });
nodeProduce(Items.surgeAlloy, () -> {
nodeProduce(Items.phaseFabric, () -> {
});
});
}); });
}); });
}); });

View File

@ -2578,7 +2578,7 @@ public class UnitTypes{
treadPullOffset = 5; treadPullOffset = 5;
speed = 0.64f; speed = 0.64f;
rotateSpeed = 1.5f; rotateSpeed = 1.5f;
health = 4500; health = 4800;
armor = 10f; armor = 10f;
itemCapacity = 0; itemCapacity = 0;
treadRects = new Rect[]{new Rect(16 - 60f, 48 - 70f, 30, 75), new Rect(44 - 60f, 17 - 70f, 17, 60)}; treadRects = new Rect[]{new Rect(16 - 60f, 48 - 70f, 30, 75), new Rect(44 - 60f, 17 - 70f, 17, 60)};
@ -2598,7 +2598,7 @@ public class UnitTypes{
y = -1f; y = -1f;
heatColor = Color.valueOf("f9350f"); heatColor = Color.valueOf("f9350f");
cooldownTime = 30f; cooldownTime = 30f;
bullet = new BasicBulletType(7f, 90){{ bullet = new BasicBulletType(7f, 100){{
sprite = "missile-large"; sprite = "missile-large";
width = 7.5f; width = 7.5f;
height = 13f; height = 13f;
@ -2644,7 +2644,7 @@ public class UnitTypes{
hitSize = 28f; hitSize = 28f;
treadPullOffset = 4; treadPullOffset = 4;
speed = 0.63f; speed = 0.63f;
health = 10000; health = 11000;
armor = 20f; armor = 20f;
itemCapacity = 0; itemCapacity = 0;
crushDamage = 13f / 5f; crushDamage = 13f / 5f;
@ -3707,7 +3707,7 @@ public class UnitTypes{
trailInterval = 3f; trailInterval = 3f;
trailParam = 4f; trailParam = 4f;
speed = 3f; speed = 3f;
damage = 80f; damage = 75f;
lifetime = 75f; lifetime = 75f;
width = height = 15f; width = height = 15f;
backColor = Pal.sapBulletBack; backColor = Pal.sapBulletBack;
@ -3725,7 +3725,7 @@ public class UnitTypes{
}}; }};
intervalBullet = new LightningBulletType(){{ intervalBullet = new LightningBulletType(){{
damage = 18; damage = 16;
collidesAir = false; collidesAir = false;
ammoMultiplier = 1f; ammoMultiplier = 1f;
lightningColor = Pal.sapBullet; lightningColor = Pal.sapBullet;
@ -3750,7 +3750,7 @@ public class UnitTypes{
bulletInterval = 4f; bulletInterval = 4f;
lightningColor = Pal.sapBullet; lightningColor = Pal.sapBullet;
lightningDamage = 21; lightningDamage = 17;
lightning = 8; lightning = 8;
lightningLength = 2; lightningLength = 2;
lightningLengthRand = 8; lightningLengthRand = 8;

View File

@ -21,7 +21,7 @@ public class ArmoredConduit extends Conduit{
public class ArmoredConduitBuild extends ConduitBuild{ public class ArmoredConduitBuild extends ConduitBuild{
@Override @Override
public boolean acceptLiquid(Building source, Liquid liquid){ public boolean acceptLiquid(Building source, Liquid liquid){
return super.acceptLiquid(source, liquid) && (tile == null || source.block instanceof Conduit || source.block instanceof DirectionLiquidBridge || return super.acceptLiquid(source, liquid) && (tile == null || source.block instanceof Conduit || source.block instanceof DirectionLiquidBridge || source.block instanceof LiquidJunction ||
source.tile.absoluteRelativeTo(tile.x, tile.y) == rotation); source.tile.absoluteRelativeTo(tile.x, tile.y) == rotation);
} }
} }