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));