Add DRs for DH sustain formula
This commit is contained in:
parent
c390fa8982
commit
1922897d05
1 changed files with 11 additions and 1 deletions
|
@ -41,11 +41,21 @@ class DemonHunter extends DiabloClass {
|
|||
}
|
||||
|
||||
|
||||
return 1 + $mitigation * ($loh *
|
||||
$rawSustainScore = 1 + $mitigation * ($loh *
|
||||
(1 + ($this->stats->getStat('Attacks per Second') - 1) / 2) +
|
||||
$this->stats->getStat('Life per Second') + $effectiveLs) /
|
||||
($this->stats->getStat('Life') * $this->EHPScore() * 10000 /
|
||||
$this->stats->getStat('EHP Unbuffed'));
|
||||
|
||||
if($rawSustainScore <= 1.5) {
|
||||
return $rawSustainScore;
|
||||
} elseif(1.5 < $rawSustainScore && $rawSustainScore <= 2) {
|
||||
return 1.5 + ($rawSustainScore - 1.5) / 2;
|
||||
} elseif(2 < $rawSustainScore && $rawSustainScore <= 3) {
|
||||
return 1.75 + ($rawSustainScore - 2) / 4;
|
||||
} else {
|
||||
return 2 + ($rawSustainScore - 3) / 10;
|
||||
}
|
||||
}
|
||||
|
||||
function miscScore() {
|
||||
|
|
Loading…
Reference in a new issue