Elite damage counts fully in PvP.
This commit is contained in:
parent
9886817246
commit
8eb7b206be
1 changed files with 6 additions and 1 deletions
|
@ -136,8 +136,13 @@ class DiabloClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
function modifyDPSUnbuffed() {
|
function modifyDPSUnbuffed() {
|
||||||
|
if($this->type == 'pvp') {
|
||||||
|
$eliteDivisor = 1;
|
||||||
|
} else {
|
||||||
|
$eliteDivisor = 2;
|
||||||
|
}
|
||||||
$this->stats->stats['DPS Unbuffed'] = $this->stats->getStat('DPS Unbuffed') *
|
$this->stats->stats['DPS Unbuffed'] = $this->stats->getStat('DPS Unbuffed') *
|
||||||
max(1, 1 + ($this->stats->getStat('+DPS Against Elites') / 2));
|
max(1, 1 + ($this->stats->getStat('+DPS Against Elites') / $eliteDivisor));
|
||||||
}
|
}
|
||||||
|
|
||||||
function modifyEHP() {
|
function modifyEHP() {
|
||||||
|
|
Loading…
Reference in a new issue