Skip to content

Commit

Permalink
Version UP and Removed debug line for release version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Feb 4, 2024
1 parent ee0b350 commit dab6547
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
11 changes: 8 additions & 3 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.",
Expand Down
11 changes: 11 additions & 0 deletions core/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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")

Expand Down
4 changes: 3 additions & 1 deletion functions/mythicdungeon/mythicdungeon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion startup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -648,4 +648,4 @@ function Details:StartMeUp()
Details.on_death_menu = false
end

Details.AddOnLoadFilesTime = _G.GetTime()
Details.AddOnLoadFilesTime = _G.GetTime()

0 comments on commit dab6547

Please sign in to comment.