1
0
Fork 0

Update DH to count Discipline properly

This commit is contained in:
Andrew Tomaka 2013-04-13 13:36:41 -04:00
parent f7ba2ca831
commit 075028075b
1 changed files with 15 additions and 3 deletions

View File

@ -59,9 +59,21 @@ class DemonHunter extends DiabloClass {
}
function miscScore() {
return 1 + ($this->stats->getStat('+Maximum Discipline') / 2 +
$this->stats->getStat('+Hatred Regenerated per Second') * 2 +
$this->stats->getStat('+Discipline Regenerated per Second') * 15) / 100;
if($this->type == 'pvp') {
$multiplier = .30;
$divisor = 100;
} else {
$multiplier = .15;
$divisor = 200;
}
$miscScore = 1 +
$this->stats->getStat('+Hatred Regenerated per Second') / 100 * 2 +
$this->stats->getStat('+Maximum Discipline') / $divisor +
$this->stats->getStat('+Discipline Regenerated per Second') * $multiplier;
return $miscScore;
}
protected