updated lib RaidStatus and general bug fixes; ToC Updates
This commit is contained in:
@@ -128,12 +128,12 @@ function Details.CooldownTracking.ProcessUnitCooldowns(unitId, statusBarFrameId,
|
||||
return
|
||||
end
|
||||
|
||||
local playerInfo = raidStatusLib.playerInfoManager.GetPlayerInfo()
|
||||
local allPlayersInfo = raidStatusLib.playerInfoManager.GetAllPlayersInfo()
|
||||
local allCooldownsFromLib = LIB_RAID_STATUS_COOLDOWNS_BY_SPEC
|
||||
local cooldownsEnabled = Details.ocd_tracker.cooldowns
|
||||
|
||||
local unitName = UnitName(unitId)
|
||||
local thisPlayerInfo = playerInfo[unitName]
|
||||
local thisPlayerInfo = allPlayersInfo[unitName]
|
||||
local GUID = UnitGUID(unitId)
|
||||
local _, unitClassEng, classId = UnitClass(unitId)
|
||||
local unitSpec = (thisPlayerInfo and thisPlayerInfo.specId) or (Details:GetSpecFromSerial(GUID)) or 0
|
||||
@@ -261,7 +261,7 @@ function Details.CooldownTracking.RefreshCooldowns()
|
||||
|
||||
--local cache saved with the character savedVariables
|
||||
local cooldownCache = screenPanel.cooldownCache
|
||||
local cooldownStatus = raidStatusLib.cooldownManager.GetCooldownTable()
|
||||
local cooldownStatus = raidStatusLib.cooldownManager.GetAllPlayersCooldown()
|
||||
local cooldownIndex = 1
|
||||
|
||||
for unitName, allPlayerCooldowns in pairs(cooldownStatus) do
|
||||
|
||||
@@ -2163,10 +2163,12 @@ local icon_frame_on_enter = function (self)
|
||||
_detalhes:AddTooltipHeaderStatusbar()
|
||||
|
||||
local talent_string = ""
|
||||
if (talents) then
|
||||
if (talents and not DetailsFramework.IsTBCWow()) then
|
||||
for i = 1, #talents do
|
||||
--local talentID, name, texture, selected, available = GetTalentInfoByID (talents [i])
|
||||
--talent_string = talent_string .. " |T" .. texture .. ":" .. 24 .. ":" .. 24 ..":0:0:64:64:4:60:4:60|t"
|
||||
local talentID, name, texture, selected, available = GetTalentInfoByID(talents [i])
|
||||
if (texture) then
|
||||
talent_string = talent_string .. " |T" .. texture .. ":" .. 24 .. ":" .. 24 ..":0:0:64:64:4:60:4:60|t"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user