From 8eb7b206beaf29c18b20eb4cf4be629a6fd34f8c Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 8 Apr 2013 20:38:42 -0400 Subject: [PATCH] Elite damage counts fully in PvP. --- libs/diabloclass.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/diabloclass.php b/libs/diabloclass.php index 7763347..a55ff00 100644 --- a/libs/diabloclass.php +++ b/libs/diabloclass.php @@ -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() {