From e39b550a48d4be1e4fed86889a582c93e4368216 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 9 Apr 2013 23:32:59 -0400 Subject: [PATCH] No longer modify Gem Life for experience helm gem --- libs/diabloclass.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libs/diabloclass.php b/libs/diabloclass.php index 03ec588..cf1178a 100644 --- a/libs/diabloclass.php +++ b/libs/diabloclass.php @@ -31,12 +31,10 @@ class DiabloClass { $this->type = $type; $this->class = $stats->class; - $this->stats->stats['Gem Life'] = $this->calculateGemLife(); $this->modifyExpBonus(); $this->stats->stats['All Elemental Damage'] = $this->elementalDamage(); - $this->modifyHP(); $this->modifyDPSUnbuffed(); $this->modifyEHP(); } @@ -148,10 +146,4 @@ class DiabloClass { function modifyEHP() { $this->calculateEHP(); } - - function modifyHP() { - $this->stats->stats['Life'] = $this->stats->getStat('Life') * - (1 + $this->stats->getStat('Life Bonus') + $this->stats->getStat('Gem Life')) / - (1 + $this->stats->getStat('Life Bonus')); - } }