mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Titan oxide ammo tweaks
This commit is contained in:
parent
45dfc85d02
commit
2c5bd4df6b
2 changed files with 11 additions and 3 deletions
|
|
@ -4338,7 +4338,7 @@ public class Blocks{
|
||||||
buildingDamageMultiplier = 0.3f;
|
buildingDamageMultiplier = 0.3f;
|
||||||
}},
|
}},
|
||||||
Items.oxide, new ArtilleryBulletType(2.5f, 300, "shell"){{
|
Items.oxide, new ArtilleryBulletType(2.5f, 300, "shell"){{
|
||||||
hitEffect = new MultiEffect(Fx.titanExplosionLarge, Fx.titanSmokeLarge);
|
hitEffect = new MultiEffect(Fx.titanExplosionLarge, Fx.titanSmokeLarge, Fx.smokeAoeCloud);
|
||||||
despawnEffect = Fx.none;
|
despawnEffect = Fx.none;
|
||||||
knockback = 2f;
|
knockback = 2f;
|
||||||
lifetime = 190f;
|
lifetime = 190f;
|
||||||
|
|
@ -4347,7 +4347,7 @@ public class Blocks{
|
||||||
reloadMultiplier = 0.8f;
|
reloadMultiplier = 0.8f;
|
||||||
splashDamageRadius = 110f;
|
splashDamageRadius = 110f;
|
||||||
rangeChange = 8f;
|
rangeChange = 8f;
|
||||||
splashDamage = 330f;
|
splashDamage = 300f;
|
||||||
scaledSplashDamage = true;
|
scaledSplashDamage = true;
|
||||||
hitColor = backColor = trailColor = Color.valueOf("a0b380");
|
hitColor = backColor = trailColor = Color.valueOf("a0b380");
|
||||||
frontColor = Color.valueOf("e4ffd6");
|
frontColor = Color.valueOf("e4ffd6");
|
||||||
|
|
@ -4374,7 +4374,7 @@ public class Blocks{
|
||||||
|
|
||||||
fragBullets = 1;
|
fragBullets = 1;
|
||||||
fragBullet = new EmptyBulletType(){{
|
fragBullet = new EmptyBulletType(){{
|
||||||
lifetime = 60f * 2f;
|
lifetime = 60f * 2.5f;
|
||||||
bulletInterval = 20f;
|
bulletInterval = 20f;
|
||||||
intervalBullet = new EmptyBulletType(){{
|
intervalBullet = new EmptyBulletType(){{
|
||||||
splashDamage = 30f;
|
splashDamage = 30f;
|
||||||
|
|
|
||||||
|
|
@ -499,6 +499,14 @@ public class Fx{
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
smokeAoeCloud = new Effect(60f * 3f, 250f, e -> {
|
||||||
|
color(e.color, 0.65f);
|
||||||
|
|
||||||
|
randLenVectors(e.id, 80, 90f, (x, y) -> {
|
||||||
|
Fill.circle(e.x + x, e.y + y, 6f * Mathf.clamp(e.fin() / 0.1f) * Mathf.clamp(e.fout() / 0.1f));
|
||||||
|
});
|
||||||
|
}),
|
||||||
|
|
||||||
missileTrailSmoke = new Effect(180f, 300f, b -> {
|
missileTrailSmoke = new Effect(180f, 300f, b -> {
|
||||||
float intensity = 2f;
|
float intensity = 2f;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue