parent
7454d89053
commit
4aaf0e7d7d
|
|
@ -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));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue