1
0
Fork 0

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
1 changed files with 6 additions and 1 deletions

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() {