Compare commits

..

2 Commits

Author SHA1 Message Date
雪风 06cde8a57f Merge remote-tracking branch 'origin/master' 2025-03-04 12:26:50 +08:00
雪风 b9e5aa1f63 20250304 2025-03-04 12:26:34 +08:00
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));
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));