Elite damage counts fully in PvP.

This commit is contained in:
Andrew Tomaka 2013-04-08 20:38:42 -04:00
parent 9886817246
commit 8eb7b206be

View file

@ -136,8 +136,13 @@ class DiabloClass {
}
function modifyDPSUnbuffed() {
if($this->type == 'pvp') {
$eliteDivisor = 1;
} else {
$eliteDivisor = 2;
}
$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() {