1
0
Fork 0

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:
Andrew Tomaka 2012-12-18 11:49:21 -05:00
parent 14bb00bfd1
commit 645331ad76
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class DPClass {
return 100 + ($ehp - 1000000) / 20000;
} elseif(2000000 <= $ehp && $ehp <= 5000000) {
return 150 + ($ehp - 2000000) / 40000;
} elseif($ehp <= 5000000) {
} elseif($ehp >= 5000000) {
return 225 + ($ehp - 5000000) / 100000;
}
}