Fix EHP Score
Correct the diminishing returns calculations for the EHP Score. The highest tier was using <= 5,000,000 instead of >= 5,000,000 causing the EHP Score for high EHP characters to be zero.
This commit is contained in:
parent
14bb00bfd1
commit
645331ad76
|
@ -56,7 +56,7 @@ class DPClass {
|
||||||
return 100 + ($ehp - 1000000) / 20000;
|
return 100 + ($ehp - 1000000) / 20000;
|
||||||
} elseif(2000000 <= $ehp && $ehp <= 5000000) {
|
} elseif(2000000 <= $ehp && $ehp <= 5000000) {
|
||||||
return 150 + ($ehp - 2000000) / 40000;
|
return 150 + ($ehp - 2000000) / 40000;
|
||||||
} elseif($ehp <= 5000000) {
|
} elseif($ehp >= 5000000) {
|
||||||
return 225 + ($ehp - 5000000) / 100000;
|
return 225 + ($ehp - 5000000) / 100000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue