From db40f154c51a3d0852819ebf8f9076fe1811151f Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 28 Dec 2020 10:42:51 -0500 Subject: [PATCH] Sector damage tweaks --- core/src/mindustry/entities/bullet/LightningBulletType.java | 2 +- core/src/mindustry/maps/SectorDamage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/entities/bullet/LightningBulletType.java b/core/src/mindustry/entities/bullet/LightningBulletType.java index 585737f758..24dabecba3 100644 --- a/core/src/mindustry/entities/bullet/LightningBulletType.java +++ b/core/src/mindustry/entities/bullet/LightningBulletType.java @@ -28,7 +28,7 @@ public class LightningBulletType extends BulletType{ @Override public float estimateDPS(){ - return super.estimateDPS() * Math.max(lightningLength / 4f, 1); + return super.estimateDPS() * Math.max(lightningLength / 10f, 1); } @Override diff --git a/core/src/mindustry/maps/SectorDamage.java b/core/src/mindustry/maps/SectorDamage.java index 682aff16e3..28d9846d1d 100644 --- a/core/src/mindustry/maps/SectorDamage.java +++ b/core/src/mindustry/maps/SectorDamage.java @@ -246,7 +246,7 @@ public class SectorDamage{ //first, calculate the total health of blocks in the path //radius around the path that gets counted - int radius = 8; + int radius = 7; IntSet counted = new IntSet(); for(Tile t : sparse2){