Version UP and Removed debug line for release version
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user