diff Modules/PaperDoll.lua @ 131:15a7f27b11e6 v7.3.2-20111027

- Fixed an infinite loop occurring with Artifact XP calculations on fresh 110 toons - Fixed combat state response - Mask out redundant cheevos (Cutting Edge/AotC and end boss)
author Nenue
date Mon, 20 Nov 2017 12:01:52 -0500
parents ddfe19d70a34
children 86621c60512b
line wrap: on
line diff
--- a/Modules/PaperDoll.lua	Sun Oct 22 18:29:09 2017 -0400
+++ b/Modules/PaperDoll.lua	Mon Nov 20 12:01:52 2017 -0500
@@ -331,12 +331,13 @@
   local numLines = tooltip:NumLines()
   local numTextures = 0
   local itemLevel
+  local ignoreIL = IsAddOnLoaded("DejaCharacterStats")
   local itemLevelLine
     --print('|cFFFFFF00Sockets scan:', numLines)
     for i = 1, numLines do
       local line = _G['VeneerPaperDollTooltipTextLeft'..i]
       local text = line and line:GetText()
-      if text then
+      if text and not ignoreIL then
         itemLevel = text:match('Item Level (%d+)')
         if itemLevel then
           self.ItemLevel:SetText(itemLevel)