From dab65476f53fd64a19ea202c0675e9451b644203 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Sun, 4 Feb 2024 15:26:26 -0300 Subject: [PATCH] Version UP and Removed debug line for release version --- boot.lua | 11 ++++++++--- core/parser.lua | 11 +++++++++++ functions/mythicdungeon/mythicdungeon.lua | 4 +++- startup.lua | 2 +- 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/boot.lua b/boot.lua index ca98d5f5..5418b1b4 100644 --- a/boot.lua +++ b/boot.lua @@ -18,8 +18,8 @@ local addonName, Details222 = ... local version, build, date, tocversion = GetBuildInfo() - Details.build_counter = 12237 - Details.alpha_build_counter = 12237 --if this is higher than the regular counter, use it instead + Details.build_counter = 12255 + Details.alpha_build_counter = 12255 --if this is higher than the regular counter, use it instead Details.dont_open_news = true Details.game_version = version Details.userversion = version .. " " .. Details.build_counter @@ -161,7 +161,12 @@ do --]=] 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.", "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.", diff --git a/core/parser.lua b/core/parser.lua index f204754d..036fbee2 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -4833,6 +4833,13 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1 return Details.capture_real[captureType] 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) if (onOff == nil) then 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() + if (_in_resting_zone) then + Details:CaptureReset() + end + parser:WipeSourceCache() Details.listener:UnregisterEvent("UNIT_FLAGS") diff --git a/functions/mythicdungeon/mythicdungeon.lua b/functions/mythicdungeon/mythicdungeon.lua index d5d0f651..ec2687d5 100644 --- a/functions/mythicdungeon/mythicdungeon.lua +++ b/functions/mythicdungeon/mythicdungeon.lua @@ -140,7 +140,9 @@ function DetailsMythicPlusFrame.MythicDungeonStarted() Details.MythicPlus.Started = true Details.MythicPlus.DungeonName = zoneName 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.EndedAt = nil --reset Details.MythicPlus.SegmentID = 1 diff --git a/startup.lua b/startup.lua index 64eb3c96..3d25dc7e 100644 --- a/startup.lua +++ b/startup.lua @@ -648,4 +648,4 @@ function Details:StartMeUp() Details.on_death_menu = false end -Details.AddOnLoadFilesTime = _G.GetTime() +Details.AddOnLoadFilesTime = _G.GetTime() \ No newline at end of file