Mercurial > wow > buffalo2
comparison 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 |
comparison
equal
deleted
inserted
replaced
130:67b90544a7b7 | 131:15a7f27b11e6 |
---|---|
329 tooltip:Show() | 329 tooltip:Show() |
330 | 330 |
331 local numLines = tooltip:NumLines() | 331 local numLines = tooltip:NumLines() |
332 local numTextures = 0 | 332 local numTextures = 0 |
333 local itemLevel | 333 local itemLevel |
334 local ignoreIL = IsAddOnLoaded("DejaCharacterStats") | |
334 local itemLevelLine | 335 local itemLevelLine |
335 --print('|cFFFFFF00Sockets scan:', numLines) | 336 --print('|cFFFFFF00Sockets scan:', numLines) |
336 for i = 1, numLines do | 337 for i = 1, numLines do |
337 local line = _G['VeneerPaperDollTooltipTextLeft'..i] | 338 local line = _G['VeneerPaperDollTooltipTextLeft'..i] |
338 local text = line and line:GetText() | 339 local text = line and line:GetText() |
339 if text then | 340 if text and not ignoreIL then |
340 itemLevel = text:match('Item Level (%d+)') | 341 itemLevel = text:match('Item Level (%d+)') |
341 if itemLevel then | 342 if itemLevel then |
342 self.ItemLevel:SetText(itemLevel) | 343 self.ItemLevel:SetText(itemLevel) |
343 break | 344 break |
344 end | 345 end |