Bug fixing

This commit is contained in:
Tercio Jose
2020-12-14 14:30:01 -03:00
parent e364629e66
commit bf67a7773d
8 changed files with 27 additions and 28 deletions
-21
View File
@@ -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)
+3 -2
View File
@@ -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