- Boss segments now need to have at least 30 seconds to be added on the overall data.

- When the segment limit is reach, segments with less combat time will be erased instead of the olders.
- Added item level tracker.
- Details Storage now stores the item level of the character as well and only guild runs.
- Fixed window positioning when changing from Solo mode to Group mode.
This commit is contained in:
Tercio
2015-03-16 00:56:58 -03:00
parent c5957e1dfd
commit 44070b38a5
13 changed files with 412 additions and 237 deletions
+20
View File
@@ -935,7 +935,27 @@ function SlashCmdList.DETAILS (msg, editbox)
local _, _, flags = barra.texto_esquerdo:GetFont()
print ("outline:",flags)
end
elseif (msg == "ilvl") then
local item_amount = 0
local item_level = 0
for equip_id = 1, 17 do
if (equip_id ~= 4) then --shirt slot
local item = GetInventoryItemLink ("player", equip_id)
if (item) then
local name, link, quality, iLevel, reqLevel, class, subclass, maxStack, equipSlot, texture, vendorPrice = GetItemInfo (item)
if (iLevel) then
item_amount = item_amount + 1
item_level = item_level + iLevel
end
end
end
end
local average = item_level / item_amount
print ("your item lvl:", average)
else
--if (_detalhes.opened_windows < 1) then