Do not need to modify DPS for DH

This commit is contained in:
Andrew Tomaka 2013-04-09 23:49:19 -04:00
parent e39b550a48
commit 4a6cef16c6

View file

@ -3,7 +3,7 @@ class DemonHunter extends DiabloClass {
function __construct($stats, $type) { function __construct($stats, $type) {
parent::__construct($stats, $type); parent::__construct($stats, $type);
} }
function EHPScore() { function EHPScore() {
$this->calculateEHP(); $this->calculateEHP();
$ehp = $this->stats->getStat('EHP Unbuffed'); $ehp = $this->stats->getStat('EHP Unbuffed');
@ -55,13 +55,6 @@ class DemonHunter extends DiabloClass {
$this->stats->getStat('+Discipline Regenerated per Second') * 15) / 100; $this->stats->getStat('+Discipline Regenerated per Second') * 15) / 100;
} }
function modifyDPSUnbuffed() {
parent::modifyDPSUnbuffed();
$this->stats->stats['DPS Unbuffed'] = $this->stats->getStat('DPS Unbuffed') /
(1 + $this->stats->getStat('Attacks per Second') / 2);
}
protected protected
function calculateEHP() { function calculateEHP() {
if($this->type == 'pvp') { if($this->type == 'pvp') {