1
0
Fork 0

No longer modify Gem Life for experience helm gem

This commit is contained in:
Andrew Tomaka 2013-04-09 23:32:59 -04:00
parent eceeaea558
commit e39b550a48
1 changed files with 0 additions and 8 deletions

View File

@ -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'));
}
}