added commentator stuff, general code cleanup and better formatting, some deprecated code removed
This commit is contained in:
+478
-456
File diff suppressed because it is too large
Load Diff
@@ -3,9 +3,10 @@ local Details = _G.Details
|
||||
local addonName, Details222 = ...
|
||||
local _
|
||||
|
||||
local debugmode = false
|
||||
Details222.Debug.MythicPlusChartWindowDebug = false
|
||||
local verbosemode = false
|
||||
|
||||
|
||||
local CreateFrame = CreateFrame
|
||||
local UIParent = UIParent
|
||||
|
||||
@@ -283,7 +284,7 @@ function mythicDungeonCharts.ShowChart()
|
||||
mythicDungeonCharts.Frame.ChartFrame:Reset()
|
||||
|
||||
if (not mythicDungeonCharts.ChartTable) then
|
||||
if (debugmode) then
|
||||
if (Details222.Debug.MythicPlusChartWindowDebug) then
|
||||
--development
|
||||
if (Details.mythic_plus.last_mythicrun_chart) then
|
||||
--load the last mythic dungeon run chart
|
||||
@@ -589,6 +590,6 @@ mythicDungeonCharts.ClassColors = {
|
||||
["DEMONHUNTER3"] = { r = 0.24, g = 0.09, b = 0.39, colorStr = "ffa330c9" },
|
||||
};
|
||||
|
||||
if (debugmode) then
|
||||
if (Details222.Debug.MythicPlusChartWindowDebug) then
|
||||
--C_Timer.After(1, mythicDungeonCharts.ShowChart)
|
||||
end
|
||||
@@ -107,7 +107,7 @@ function Details.Survey.InitializeSpellCategoryFeedback()
|
||||
if (msg:find("funpt")) then
|
||||
if (not alreadySent) then
|
||||
Details.spell_category_latest_sent = 0
|
||||
C_Timer.After(random(0, 200), function()
|
||||
C_Timer.After(math.random(0, 200), function()
|
||||
Details.Survey.SendSpellCatogeryDataToTargetCharacter()
|
||||
end)
|
||||
alreadySent = true
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
|
||||
local addonName, Details222 = ...
|
||||
local _detalhes = _G.Details
|
||||
local Loc = LibStub("AceLocale-3.0"):GetLocale ( "Details" )
|
||||
local SharedMedia = LibStub:GetLibrary("LibSharedMedia-3.0")
|
||||
@@ -1058,7 +1060,7 @@ local window_openned_at = time()
|
||||
|
||||
_detalhes.zone_type = "pvp"
|
||||
|
||||
_detalhes:EntrarEmCombate()
|
||||
Details222.StartCombat()
|
||||
|
||||
_detalhes:StartTestBarUpdate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user