From b9e5aa1f63c5c7568e3216617907b5797f1334ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=AA=E9=A3=8E?= <1213457484@qq.com> Date: Tue, 4 Mar 2025 12:26:34 +0800 Subject: [PATCH] 20250304 --- src/handling/channel/handler/DamageParse.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handling/channel/handler/DamageParse.java b/src/handling/channel/handler/DamageParse.java index 27e4f13..3b84733 100644 --- a/src/handling/channel/handler/DamageParse.java +++ b/src/handling/channel/handler/DamageParse.java @@ -1719,7 +1719,7 @@ public class DamageParse { Double ddxs = Start.ConfigValuesJson.getJSONObject("ddxs").getDouble(String.valueOf(skillId)); if (ddxs == null) { - ddxs = 1.0; + return new double[]{0.0, 0.0}; } if (Magnification == 0) { return new double[]{0.0, 0.0}; @@ -1736,7 +1736,7 @@ public class DamageParse { Double ddxs = Start.ConfigValuesJson.getJSONObject("dbxs").getDouble(String.valueOf(skillId)); if (ddxs == null) { - ddxs = 1.0; + return new double[]{0.0, 0.0}; } return new double[]{Magnification, ddxs}; @@ -1750,7 +1750,7 @@ public class DamageParse { Double qgxs = Start.ConfigValuesJson.getJSONObject("qgxs").getDouble(String.valueOf(skillId)); if (qgxs == null) { - qgxs = 1.0; + return 0; } if (Magnification > 0) { return (long) ((Magnification * qgxs));