(cherry picked from commit b9e5aa1f63)
This commit is contained in:
雪风 2025-03-04 12:26:34 +08:00 committed by Lenheart
parent 7454d89053
commit 4aaf0e7d7d
1 changed files with 3 additions and 3 deletions

View File

@ -1719,7 +1719,7 @@ public class DamageParse {
Double ddxs = Start.ConfigValuesJson.getJSONObject("ddxs").getDouble(String.valueOf(skillId)); Double ddxs = Start.ConfigValuesJson.getJSONObject("ddxs").getDouble(String.valueOf(skillId));
if (ddxs == null) { if (ddxs == null) {
ddxs = 1.0; return new double[]{0.0, 0.0};
} }
if (Magnification == 0) { if (Magnification == 0) {
return new double[]{0.0, 0.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)); Double ddxs = Start.ConfigValuesJson.getJSONObject("dbxs").getDouble(String.valueOf(skillId));
if (ddxs == null) { if (ddxs == null) {
ddxs = 1.0; return new double[]{0.0, 0.0};
} }
return new double[]{Magnification, ddxs}; return new double[]{Magnification, ddxs};
@ -1750,7 +1750,7 @@ public class DamageParse {
Double qgxs = Start.ConfigValuesJson.getJSONObject("qgxs").getDouble(String.valueOf(skillId)); Double qgxs = Start.ConfigValuesJson.getJSONObject("qgxs").getDouble(String.valueOf(skillId));
if (qgxs == null) { if (qgxs == null) {
qgxs = 1.0; return 0;
} }
if (Magnification > 0) { if (Magnification > 0) {
return (long) ((Magnification * qgxs)); return (long) ((Magnification * qgxs));