- Fixed an issue with overall data not updating correctly at the end of the combat.

- Added a tutorial line on the window when the user access overall data.
This commit is contained in:
Tercio
2016-12-29 18:31:37 -02:00
parent 55a1065849
commit 33f8ad58c2
7 changed files with 64 additions and 11 deletions
+3 -3
View File
@@ -1103,7 +1103,7 @@ function SlashCmdList.DETAILS (msg, editbox)
["128289"] = true, --warrior prot
}
if (equip_id == 17) then
if (equip_id == 17) then -- and false
local itemId = select (2, strsplit (":", item))
if (artifact_offhands [itemId]) then
local mainHand = GetInventoryItemLink (unitid, 16)
@@ -1121,10 +1121,10 @@ function SlashCmdList.DETAILS (msg, editbox)
if (ItemUpgradeInfo) then
local ilvl = ItemUpgradeInfo:GetUpgradedItemLevel (item)
item_level = item_level + (ilvl or iLevel)
--print (iName, ilvl, iLevel)
print (item, ilvl, iLevel)
else
item_level = item_level + iLevel
--print (iName, iLevel)
print (iName, iLevel, "-|cFFFF0000lib not found|r-")
end
--> 16 = main hand 17 = off hand