Version UP and Removed debug line for release version

This commit is contained in:
Tercio Jose
2024-02-04 15:26:26 -03:00
parent ee0b350aba
commit dab65476f5
4 changed files with 23 additions and 5 deletions
+8 -3
View File
@@ -18,8 +18,8 @@
local addonName, Details222 = ... local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo() local version, build, date, tocversion = GetBuildInfo()
Details.build_counter = 12237 Details.build_counter = 12255
Details.alpha_build_counter = 12237 --if this is higher than the regular counter, use it instead Details.alpha_build_counter = 12255 --if this is higher than the regular counter, use it instead
Details.dont_open_news = true Details.dont_open_news = true
Details.game_version = version Details.game_version = version
Details.userversion = version .. " " .. Details.build_counter Details.userversion = version .. " " .. Details.build_counter
@@ -161,7 +161,12 @@ do
--]=] --]=]
local news = { local news = {
{"v10.2.0.12236.155", "January 20th, 2024"}, {"v10.2.5.12255.155", "February 04th, 2024"},
"Dungeon followers now correctly show into the damage done section.",
"Fixed an error while statusbar plugin options.",
"Backend code maintenance.",
{"v10.2.5.12236.155", "January 20th, 2024"},
"Added Blistering Scales and Mana Restored to the Evoker Predicted Damage bar.", "Added Blistering Scales and Mana Restored to the Evoker Predicted Damage bar.",
"Fixed an issue which was making the Evoker Predicted Damage bar to show beyond the window width.", "Fixed an issue which was making the Evoker Predicted Damage bar to show beyond the window width.",
"Fixed the key level up animation at the new End of Mythic+ Run panel.", "Fixed the key level up animation at the new End of Mythic+ Run panel.",
+11
View File
@@ -4833,6 +4833,13 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
return Details.capture_real[captureType] return Details.capture_real[captureType]
end end
function Details:CaptureReset()
Details:CancelAllCaptureSchedules()
for _, thisType in ipairs(Details.capture_types) do
Details:CaptureSet(true, thisType, true)
end
end
function Details:CaptureSet(onOff, captureType, real, time) function Details:CaptureSet(onOff, captureType, real, time)
if (onOff == nil) then if (onOff == nil) then
onOff = Details.capture_real[captureType] onOff = Details.capture_real[captureType]
@@ -5205,6 +5212,10 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
_in_resting_zone = IsResting() _in_resting_zone = IsResting()
if (_in_resting_zone) then
Details:CaptureReset()
end
parser:WipeSourceCache() parser:WipeSourceCache()
Details.listener:UnregisterEvent("UNIT_FLAGS") Details.listener:UnregisterEvent("UNIT_FLAGS")
+3 -1
View File
@@ -140,7 +140,9 @@ function DetailsMythicPlusFrame.MythicDungeonStarted()
Details.MythicPlus.Started = true Details.MythicPlus.Started = true
Details.MythicPlus.DungeonName = zoneName Details.MythicPlus.DungeonName = zoneName
Details.MythicPlus.DungeonID = currentZoneID Details.MythicPlus.DungeonID = currentZoneID
Details:Msg("(debug) mythic dungeon start time: ", time()+9.7, "time now:", time(), "diff:", time()+9.7-time())
--Details:Msg("(debug) mythic dungeon start time: ", time()+9.7, "time now:", time(), "diff:", time()+9.7-time())
Details.MythicPlus.StartedAt = time()+9.7 --there's the countdown timer of 10 seconds Details.MythicPlus.StartedAt = time()+9.7 --there's the countdown timer of 10 seconds
Details.MythicPlus.EndedAt = nil --reset Details.MythicPlus.EndedAt = nil --reset
Details.MythicPlus.SegmentID = 1 Details.MythicPlus.SegmentID = 1