- added extra tooltip for the icon on player's bar.

This commit is contained in:
Tercio
2015-06-03 19:58:52 -03:00
parent f771a42cde
commit 557a25305a
9 changed files with 342 additions and 24 deletions
+10 -2
View File
@@ -494,14 +494,22 @@ function _G._detalhes:Start()
--boss mobs callbacks
_detalhes:ScheduleTimer ("BossModsLink", 5)
--> limit item level life for 24Hs
local now = time()
for guid, t in pairs (_detalhes.item_level_pool) do
if (t.time+3600 < now) then
if (t.time+86400 < now) then
_detalhes.item_level_pool [guid] = nil
end
end
--> dailly reset of the cache for talents and specs.
local today = date ("%d")
if (_detalhes.last_day ~= today) then
wipe (_detalhes.cached_specs)
wipe (_detalhes.cached_talents)
end
--[[
function _detalhes:TestResize()
_detalhes:OpenNewsWindow ("TESTE, |TInterface\\AddOns\\Details\\images\\key_shift:20:40:0:0:64:64:0:64:0:40|t")