From fdd4dd97c9626fa93e26a7dffb94b29698e52186 Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Wed, 5 Mar 2025 02:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=95=B0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../superbwarfare/config/server/ExplosionConfig.java | 2 +- .../entity/vehicle/AnnihilatorEntity.java | 10 +++++----- .../superbwarfare/entity/vehicle/Yx100Entity.java | 12 ++++++------ .../resources/data/superbwarfare/guns/javelin.json | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/config/server/ExplosionConfig.java b/src/main/java/com/atsuishio/superbwarfare/config/server/ExplosionConfig.java index 8673dc1e2..52658a903 100644 --- a/src/main/java/com/atsuishio/superbwarfare/config/server/ExplosionConfig.java +++ b/src/main/java/com/atsuishio/superbwarfare/config/server/ExplosionConfig.java @@ -102,7 +102,7 @@ public class ExplosionConfig { builder.push("Wire Guide Missile"); builder.comment("The damage of wire guide missile"); - WIRE_GUIDE_MISSILE_DAMAGE = builder.defineInRange("wire_guide_missile_damage", 500, 1, Integer.MAX_VALUE); + WIRE_GUIDE_MISSILE_DAMAGE = builder.defineInRange("wire_guide_missile_damage", 700, 1, Integer.MAX_VALUE); builder.comment("The explosion damage of wire guide missile"); WIRE_GUIDE_MISSILE_EXPLOSION_DAMAGE = builder.defineInRange("wire_guide_missile_explosion_damage", 60, 1, Integer.MAX_VALUE); diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/AnnihilatorEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/AnnihilatorEntity.java index f21cc8a96..6b7ae0f8b 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/AnnihilatorEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/AnnihilatorEntity.java @@ -191,13 +191,13 @@ public class AnnihilatorEntity extends EnergyVehicleEntity implements GeoEntity, .immuneTo(DamageTypes.PLAYER_ATTACK) .immuneTo(ModTags.DamageTypes.PROJECTILE) .immuneTo(ModDamageTypes.VEHICLE_STRIKE) - .multiply(0.75f, DamageTypes.EXPLOSION) - .multiply(0.2f, ModDamageTypes.CUSTOM_EXPLOSION) - .multiply(0.2f, ModDamageTypes.PROJECTILE_BOOM) + .multiply(0.35f, DamageTypes.EXPLOSION) + .multiply(0.1f, ModDamageTypes.CUSTOM_EXPLOSION) + .multiply(0.1f, ModDamageTypes.PROJECTILE_BOOM) .multiply(0.1f, ModDamageTypes.MINE) .multiply(0.12f, ModDamageTypes.LUNGE_MINE) - .multiply(0.16f, ModDamageTypes.CANNON_FIRE) - .multiply(0.03f, ModTags.DamageTypes.PROJECTILE_ABSOLUTE) + .multiply(0.15f, ModDamageTypes.CANNON_FIRE) + .multiply(0.02f, ModTags.DamageTypes.PROJECTILE_ABSOLUTE) .reduce(10); } diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Yx100Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Yx100Entity.java index be657c0ce..b0312954e 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Yx100Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Yx100Entity.java @@ -76,7 +76,7 @@ public class Yx100Entity extends ContainerMobileVehicleEntity implements GeoEnti public static final EntityDataAccessor TRACK_R = SynchedEntityData.defineId(Yx100Entity.class, EntityDataSerializers.FLOAT); public static final EntityDataAccessor YAW = SynchedEntityData.defineId(Yx100Entity.class, EntityDataSerializers.FLOAT); - public static final float MAX_HEALTH = 400; + public static final float MAX_HEALTH = 500; public static final int MAX_ENERGY = 5000000; private final AnimatableInstanceCache cache = GeckoLibUtil.createInstanceCache(this); @@ -145,13 +145,13 @@ public class Yx100Entity extends ContainerMobileVehicleEntity implements GeoEnti .immuneTo(DamageTypes.PLAYER_ATTACK) .immuneTo(ModTags.DamageTypes.PROJECTILE) .immuneTo(ModDamageTypes.VEHICLE_STRIKE) - .multiply(0.6f, DamageTypes.EXPLOSION) - .multiply(0.2f, ModDamageTypes.CUSTOM_EXPLOSION) - .multiply(0.2f, ModDamageTypes.PROJECTILE_BOOM) + .multiply(0.4f, DamageTypes.EXPLOSION) + .multiply(0.15f, ModDamageTypes.CUSTOM_EXPLOSION) + .multiply(0.15f, ModDamageTypes.PROJECTILE_BOOM) .multiply(0.1f, ModDamageTypes.MINE) .multiply(0.1f, ModDamageTypes.LUNGE_MINE) - .multiply(0.22f, ModDamageTypes.CANNON_FIRE) - .multiply(0.05f, ModTags.DamageTypes.PROJECTILE_ABSOLUTE) + .multiply(0.17f, ModDamageTypes.CANNON_FIRE) + .multiply(0.03f, ModTags.DamageTypes.PROJECTILE_ABSOLUTE) .reduce(9); } diff --git a/src/main/resources/data/superbwarfare/guns/javelin.json b/src/main/resources/data/superbwarfare/guns/javelin.json index 3db439e9d..ae0d7d302 100644 --- a/src/main/resources/data/superbwarfare/guns/javelin.json +++ b/src/main/resources/data/superbwarfare/guns/javelin.json @@ -4,7 +4,7 @@ "Magazine": 1, "Weight": 10, "EmptyReloadTime": 78, - "Damage": 450, - "ExplosionDamage": 50, - "ExplosionRadius": 4 + "Damage": 700, + "ExplosionDamage": 60, + "ExplosionRadius": 5 } \ No newline at end of file