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
+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]
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")