Use getStat to view stats

This commit is contained in:
Andrew Tomaka 2013-04-09 23:23:19 -04:00
parent 8c2a855ed6
commit eceeaea558

View file

@ -58,8 +58,8 @@ class DemonHunter extends DiabloClass {
function modifyDPSUnbuffed() {
parent::modifyDPSUnbuffed();
$this->stats->stats['DPS Unbuffed'] = $this->stats->stats['DPS Unbuffed'] /
(1 + $this->stats->stats['Attacks per Second'] / 2);
$this->stats->stats['DPS Unbuffed'] = $this->stats->getStat('DPS Unbuffed') /
(1 + $this->stats->getStat('Attacks per Second') / 2);
}
protected