From 3002330133babf30a2f90c641147b7b616536460 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 8 Apr 2013 20:15:20 -0400 Subject: [PATCH] Ignore XP to Life gem conversion if PvP --- libs/diabloclass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/diabloclass.php b/libs/diabloclass.php index b7cdda7..7763347 100644 --- a/libs/diabloclass.php +++ b/libs/diabloclass.php @@ -116,7 +116,7 @@ class DiabloClass { } function calculateGemLife() { - if($this->isParagonMaxed()) return 0; + if($this->isParagonMaxed() || $this->type == 'pvp') return 0; switch($this->stats->getStat('Exp Bonus')) { case .19: return .12;