Ignore XP to Life gem conversion if PvP

This commit is contained in:
Andrew Tomaka 2013-04-08 20:15:20 -04:00
parent 14ff704b5f
commit 3002330133

View file

@ -116,7 +116,7 @@ class DiabloClass {
} }
function calculateGemLife() { function calculateGemLife() {
if($this->isParagonMaxed()) return 0; if($this->isParagonMaxed() || $this->type == 'pvp') return 0;
switch($this->stats->getStat('Exp Bonus')) { switch($this->stats->getStat('Exp Bonus')) {
case .19: return .12; case .19: return .12;