diff --git a/libs/demonhunter.php b/libs/demonhunter.php index e4c7c7f..4433802 100644 --- a/libs/demonhunter.php +++ b/libs/demonhunter.php @@ -5,8 +5,13 @@ class DemonHunter extends DiabloClass { } function EHPScore() { + $this->calculateEHP(); $ehp = $this->stats->getStat('EHP Unbuffed'); + if($this->type == 'pvp') { + return $ehp / 10000; + } + if($ehp <= 500000) { return $ehp / 10000; } elseif(500000 < $ehp && $ehp <= 1000000) {