From 730d8901d1920b8c3a233cd2698816eb9b4c253f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=91=D0=B5=D0=B2=D0=BD?= =?UTF-8?q?=D1=8F=D0=B5=D0=B2?= Date: Wed, 3 Jul 2024 19:35:51 +0300 Subject: [PATCH] Helix ammo rebalancing --- src/fos/content/FOSBlocks.java | 76 +++++++++++++--------------------- 1 file changed, 28 insertions(+), 48 deletions(-) diff --git a/src/fos/content/FOSBlocks.java b/src/fos/content/FOSBlocks.java index 2267e73..d5171f7 100644 --- a/src/fos/content/FOSBlocks.java +++ b/src/fos/content/FOSBlocks.java @@ -486,9 +486,11 @@ public static void load() { ); }}; ammo( - zinc, new BasicBulletType(3f, 20){{ + zinc, new BasicBulletType(3f, 10){{ width = 3f; height = 6f; lifetime = 44f; + splashDamage = 24; + splashDamageRadius = 10; trailColor = frontColor = FOSPal.tin; backColor = FOSPal.tinBack; trailWidth = 1.5f; @@ -496,69 +498,47 @@ zinc, new BasicBulletType(3f, 20){{ ammoMultiplier = 2f; buildingDamageMultiplier = 0.3f; }}, - diamond, new BasicBulletType(3f, 36){{ - width = 3f; height = 6f; - lifetime = 44f; + diamond, new BasicBulletType(6f, 72){{ + width = 4f; height = 8f; + lifetime = 22f; trailColor = frontColor = FOSPal.diamond; backColor = FOSPal.diamondBack; trailWidth = 1.5f; trailLength = 8; - ammoMultiplier = 3f; - pierce = true; - pierceCap = 2; + ammoMultiplier = 1f; + reloadMultiplier = 0.5f; buildingDamageMultiplier = 0.3f; }}, - silicon, new BasicBulletType(3f, 28){{ - width = 3f; height = 6f; - lifetime = 44f; + silicon, new BasicBulletType(3f, 48){{ + width = 4f; height = 8f; + lifetime = 66f; + rangeChange = 66f; trailColor = frontColor = Pal.unitFront; backColor = Pal.unitBack; trailWidth = 1.5f; trailLength = 8; - ammoMultiplier = 3f; - homingRange = 56f; - homingPower = 0.1f; + ammoMultiplier = 1f; + homingDelay = 10f; + homingRange = 96f; + homingPower = 0.15f; buildingDamageMultiplier = 0.3f; + fragBullets = 3; + fragBullet = new BasicBulletType(2f, 10){{ + lifetime = 20f; + pierce = true; + pierceCap = 1; + buildingDamageMultiplier = 0.3f; + }}; }}, - vanadium, new BasicBulletType(4f, 40){{ - width = 3f; height = 6f; - lifetime = 44f; - rangeChange = 44f; + vanadium, new BasicBulletType(4f, 64){{ + width = 4f; height = 8f; + lifetime = 50f; + rangeChange = 66f; trailColor = frontColor = Pal.gray; backColor = Pal.darkerGray; trailWidth = 1.5f; trailLength = 8; - ammoMultiplier = 3f; - buildingDamageMultiplier = 0.3f; - }}, - nickel, new BasicBulletType(4f, 44){{ - width = 4f; height = 8f; - lifetime = 44f; - rangeChange = 44f; - trailColor = frontColor = Color.valueOf("a3bda7"); - backColor = Color.valueOf("4e5b4c"); - trailWidth = 1.5f; - trailLength = 8; - ammoMultiplier = 4f; - buildingDamageMultiplier = 0.3f; - }}, - //TODO: trail shader? - luminium, new BasicBulletType(){{ - width = 4f; height = 8f; - speed = 4.5f; - damage = 52.5f; - lifetime = 44f; - rangeChange = 66f; - trailColor = frontColor = FOSPal.luminium1; - backColor = FOSPal.luminium2; - trailWidth = 1.5f; - trailLength = 12; - ammoMultiplier = 3f; - lightColor = FOSPal.luminium1.cpy().a(0.6f); - pierce = true; - pierceCap = 2; - hitEffect = Fx.hitEmpSpark; - status = StatusEffects.blasted; + ammoMultiplier = 2f; buildingDamageMultiplier = 0.3f; }} );