Bug fixing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
local major = "LibRaidStatus-1.0"
|
||||
local CONST_LIB_VERSION = 7
|
||||
local CONST_LIB_VERSION = 8
|
||||
LIB_RAID_STATUS_CAN_LOAD = false
|
||||
|
||||
--declae the library within the LibStub
|
||||
|
||||
@@ -153,7 +153,6 @@ LIB_RAID_STATUS_COOLDOWNS_BY_SPEC = {
|
||||
[265202] = 4, --Holy Word: Salvation (talent)
|
||||
[88625] = 5, --Holy Word: Chastise
|
||||
[34861] = 5, --Holy Word: Sanctify
|
||||
[2050] = 5, --Holy Word: Serenity
|
||||
[19236] = 5, --Desperate Prayer
|
||||
[8122] = 5, --Psychic Scream
|
||||
},
|
||||
|
||||
@@ -194,6 +194,9 @@
|
||||
end
|
||||
|
||||
function _detalhes.network.Cloud_Request (player, realm, core_version, ...)
|
||||
--deprecated | need to remove
|
||||
if (true) then return end
|
||||
|
||||
if (_detalhes.debug) then
|
||||
_detalhes:Msg ("(debug)", player, _detalhes.host_of, _detalhes:CaptureIsAllEnabled(), core_version == _detalhes.realversion)
|
||||
end
|
||||
@@ -212,6 +215,9 @@
|
||||
end
|
||||
|
||||
function _detalhes.network.Cloud_Found (player, realm, core_version, ...)
|
||||
--deprecated | need to remove
|
||||
if (true) then return end
|
||||
|
||||
if (_detalhes.host_by) then
|
||||
return
|
||||
end
|
||||
@@ -230,6 +236,9 @@
|
||||
end
|
||||
|
||||
function _detalhes.network.Cloud_DataRequest (player, realm, core_version, ...)
|
||||
--deprecated | need to remove
|
||||
if (true) then return end
|
||||
|
||||
if (not _detalhes.host_of) then
|
||||
return
|
||||
end
|
||||
@@ -271,6 +280,9 @@
|
||||
end
|
||||
|
||||
function _detalhes.network.Cloud_DataReceived (player, realm, core_version, ...)
|
||||
--deprecated | need to remove
|
||||
if (true) then return end
|
||||
|
||||
local atributo, atributo_name, data = player, realm, core_version
|
||||
|
||||
local container = _detalhes.tabela_vigente [atributo]
|
||||
@@ -338,6 +350,9 @@
|
||||
end
|
||||
|
||||
function _detalhes.network.Cloud_Equalize (player, realm, core_version, data)
|
||||
--deprecated | need to remove
|
||||
if (true) then return end
|
||||
|
||||
if (not _detalhes.in_combat) then
|
||||
if (core_version ~= _detalhes.realversion) then
|
||||
return
|
||||
|
||||
@@ -227,7 +227,7 @@ function Details.OpenCDTrackerWindow()
|
||||
if (not _G.DetailsCDTrackerWindow or not _G.DetailsCDTrackerWindow.Initialized) then
|
||||
_G.DetailsCDTrackerWindow.Initialized = true
|
||||
local f = _G.DetailsCDTrackerWindow or DF:CreateSimplePanel(UIParent, 700, 480, "Details! Online CD Tracker", "DetailsCDTrackerWindow")
|
||||
|
||||
DF:ApplyStandardBackdrop(f)
|
||||
--enabled with a toggle button
|
||||
--execute to reset position
|
||||
--misc configs
|
||||
|
||||
@@ -3009,7 +3009,7 @@ end
|
||||
function _detalhes:InstanceAlert (msg, icon, time, clickfunc, doflash, forceAlert)
|
||||
|
||||
if (not forceAlert and _detalhes.streamer_config.no_alerts) then
|
||||
return
|
||||
--return
|
||||
end
|
||||
|
||||
if (not self.meu_id) then
|
||||
|
||||
@@ -667,27 +667,6 @@ function mythicDungeonCharts.ShowChart()
|
||||
|
||||
mythicDungeonCharts.Frame.ChartFrame:AddLine (chartData, lineColor, lineName, combatTime, texture, "SMA")
|
||||
tinsert (mythicDungeonCharts.PlayerGraphIndex, playerName)
|
||||
|
||||
--[=[
|
||||
local smoothFactor = 0.075
|
||||
local forecastSmoothFactor = 1 - smoothFactor
|
||||
local lastForecast = chartData[1]
|
||||
local chartLag = {lastForecast}
|
||||
local maxValue = lastForecast
|
||||
|
||||
for i = 2, #chartData do
|
||||
local forecast = (chartData[i] * smoothFactor) + (lastForecast * forecastSmoothFactor)
|
||||
tinsert (chartLag, forecast)
|
||||
lastForecast = forecast
|
||||
|
||||
if (forecast > maxValue) then
|
||||
maxValue = forecast
|
||||
end
|
||||
end
|
||||
chartLag.max_value = maxValue
|
||||
|
||||
mythicDungeonCharts.Frame.ChartFrame:AddLine (chartLag, lineColor, lineName, combatTime, texture, "SMA")
|
||||
--]=]
|
||||
end
|
||||
|
||||
mythicDungeonCharts.Frame.ChartFrame:RefreshBossTimeline (mythicDungeonCharts.ChartTable.BossDefeated, mythicDungeonCharts.ChartTable.ElapsedTime)
|
||||
|
||||
@@ -834,7 +834,7 @@ local default_profile = {
|
||||
0, -- [3]
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
--> ocd tracker test
|
||||
ocd_tracker = {
|
||||
enabled = false,
|
||||
@@ -843,7 +843,8 @@ local default_profile = {
|
||||
show_conditions = {
|
||||
only_in_group = true,
|
||||
only_inside_instance = true,
|
||||
}
|
||||
},
|
||||
show_options = false,
|
||||
},
|
||||
|
||||
--> minimap
|
||||
|
||||
+6
-1
@@ -54,7 +54,9 @@ function Details:StartMeUp() --I'll never stop!
|
||||
self:InitializePlaterIntegrationWindow()
|
||||
self:InitializeMacrosWindow()
|
||||
|
||||
self:InitializeCDTrackerWindow()
|
||||
if (self.ocd_tracker.show_options) then
|
||||
self:InitializeCDTrackerWindow()
|
||||
end
|
||||
|
||||
--custom window
|
||||
self.custom = self.custom or {}
|
||||
@@ -477,6 +479,9 @@ function Details:StartMeUp() --I'll never stop!
|
||||
_detalhes.streamer_config.use_animation_accel = true
|
||||
end
|
||||
|
||||
--shutdown pre-pot announcer
|
||||
Details.announce_prepots.enabled = false
|
||||
|
||||
--Plater integration
|
||||
C_Timer.After(2, function()
|
||||
_detalhes:RefreshPlaterIntegration()
|
||||
|
||||
Reference in New Issue
Block a user