Erekir turret balancing changes

This commit is contained in:
Anuken
2025-08-22 00:42:20 -04:00
parent d89450d7e7
commit 32da91e789
7 changed files with 52 additions and 29 deletions

View File

@@ -4392,7 +4392,7 @@ public class Blocks{
hitEffect = despawnEffect = Fx.hitSquaresColor;
buildingDamageMultiplier = 0.2f;
}},
Items.oxide, new BasicBulletType(8f, 120){{
Items.oxide, new BasicBulletType(8f, 90){{
knockback = 3f;
width = 25f;
hitSize = 7f;
@@ -4655,15 +4655,13 @@ public class Blocks{
reloadMultiplier = 0.65f;
splashDamageRadius = 110f;
rangeChange = 8f;
splashDamage = 300f;
splashDamage = 150f;
scaledSplashDamage = true;
hitColor = backColor = trailColor = Color.valueOf("a0b380");
frontColor = Color.valueOf("e4ffd6");
ammoMultiplier = 1f;
hitSound = Sounds.titanExplosion;
status = StatusEffects.blasted;
trailLength = 32;
trailWidth = 3.35f;
trailSinScl = 2.5f;
@@ -4679,23 +4677,8 @@ public class Blocks{
shrinkX = 0.2f;
shrinkY = 0.1f;
buildingDamageMultiplier = 0.25f;
fragBullets = 1;
fragBullet = new EmptyBulletType(){{
lifetime = 60f * 2.5f;
bulletInterval = 20f;
intervalBullet = new EmptyBulletType(){{
splashDamage = 30f;
collidesGround = true;
collidesAir = false;
collides = false;
hitEffect = Fx.none;
pierce = true;
instantDisappear = true;
splashDamageRadius = 90f;
buildingDamageMultiplier = 0.2f;
}};
}};
status = StatusEffects.corroded;
statusDuration = 300f;
}}
);
@@ -4932,8 +4915,8 @@ public class Blocks{
}};
afflict = new PowerTurret("afflict"){{
requirements(Category.turret, with(Items.surgeAlloy, 125, Items.silicon, 200, Items.graphite, 250, Items.oxide, 40));
buildCostMultiplier = 1.5f;
requirements(Category.turret, with(Items.surgeAlloy, 100, Items.silicon, 200, Items.graphite, 250, Items.oxide, 40));
buildCostMultiplier = 1f;
shootType = new BasicBulletType(){{
shootEffect = new MultiEffect(Fx.shootTitan, new WaveEffect(){{

View File

@@ -458,7 +458,7 @@ public class Fx{
Lines.lineAngle(e.x, e.y, angle, e.foutpow() * 50f * rand.random(1f, 0.6f) + 2f, e.finpow() * 100f * lenRand + 6f);
}
}),
titanExplosionSmall = new Effect(22f, 120f, e -> {
color(e.color);
stroke(e.fout() * 3f);
@@ -1398,6 +1398,15 @@ public class Fx{
});
}).layer(Layer.bullet - 1f),
corrosionVapor = new Effect(50f, e -> {
color(e.color);
alpha(Interp.pow2Out.apply(e.fslope()) * 0.5f);
randLenVectors(e.id, 2, 8f + e.finpow() * 3f, (x, y) -> {
Fill.circle(e.x + x, e.y + y, 3f);
});
}),
vapor = new Effect(110f, e -> {
color(e.color);
alpha(e.fout());

View File

@@ -191,8 +191,12 @@ public class StatusEffects{
}};
corroded = new StatusEffect("corroded"){{
color = Pal.plastanium;
damage = 0.1f;
color = Color.valueOf("e4ffd6");
intervalDamage = 25f;
intervalDamageTime = 30f;
effectChance = 0.1f;
effect = Fx.corrosionVapor;
}};
disarmed = new StatusEffect("disarmed"){{