From eceeaea55856624d88ef2e87ee48041bdf17e19c Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 9 Apr 2013 23:23:19 -0400 Subject: [PATCH] Use getStat to view stats --- libs/demonhunter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/demonhunter.php b/libs/demonhunter.php index 4c18afd..b281c13 100644 --- a/libs/demonhunter.php +++ b/libs/demonhunter.php @@ -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