From 0316009a9cfc0119ea6149014fb43241ce4b8988 Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 19 Feb 2021 18:28:51 -0500 Subject: [PATCH] Balance tweaks --- core/src/mindustry/content/UnitTypes.java | 8 ++++---- core/src/mindustry/entities/Damage.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/mindustry/content/UnitTypes.java b/core/src/mindustry/content/UnitTypes.java index 1d12279b07..b26b418862 100644 --- a/core/src/mindustry/content/UnitTypes.java +++ b/core/src/mindustry/content/UnitTypes.java @@ -240,8 +240,8 @@ public class UnitTypes implements ContentList{ fragVelocityMin = 0.4f; hitEffect = Fx.blastExplosion; - splashDamage = 18f; - splashDamageRadius = 30f; + splashDamage = 16f; + splashDamageRadius = 13f; fragBullets = 2; fragLifeMin = 0f; @@ -257,7 +257,7 @@ public class UnitTypes implements ContentList{ lifetime = 20f; hitEffect = Fx.flakExplosion; splashDamage = 15f; - splashDamageRadius = 15f; + splashDamageRadius = 10f; }}; }}; }} @@ -769,7 +769,7 @@ public class UnitTypes implements ContentList{ width = height = 19f; collidesTiles = true; ammoMultiplier = 4f; - splashDamageRadius = 80f; + splashDamageRadius = 70f; splashDamage = 65f; backColor = Pal.sapBulletBack; frontColor = lightningColor = Pal.sapBullet; diff --git a/core/src/mindustry/entities/Damage.java b/core/src/mindustry/entities/Damage.java index 458fd5220b..e3f9be816b 100644 --- a/core/src/mindustry/entities/Damage.java +++ b/core/src/mindustry/entities/Damage.java @@ -379,7 +379,7 @@ public class Damage{ //why? because otherwise the building would absorb everything in one cell, which means much less damage than a nearby explosion. //this needs to be compensated if(in != null && in.team != team && in.block.size > 1 && in.health > damage){ - //deal the damage of an entire side + 1, to be equivalent with maximum 'standard' damage + //deal the damage of an entire side, to be equivalent with maximum 'standard' damage in.damage(damage * Math.min((in.block.size), baseRadius * 0.45f)); //no need to continue with the explosion return;