Fix CC modules on Wrath Classic

This commit is contained in:
Parnic
2023-05-18 09:41:44 -05:00
parent 37108d3487
commit 5e04ace0f4
3 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@
v1.14.21:
- Increased maximum scale/zoom to 400%, by request.
- Fixed TargetCC/FocusCC modules on Wrath Classic.
v1.14.20:

View File

@ -360,7 +360,7 @@ function TargetCC.prototype:GetMaxDebuffDuration(unitName, debuffNames)
while debuff do
remaining = endTime - GetTime()
if debuffNames[spellId] and (not self.moduleSettings.onlyShowForMyDebuffs or isMine) then
if (debuffNames[spellId] or debuffNames[debuff]) and (not self.moduleSettings.onlyShowForMyDebuffs or isMine) then
if result[0] then
if result[2] < remaining then
result = {debuff, duration, remaining}

View File

@ -3,6 +3,7 @@
v1.14.21:
- Increased maximum scale/zoom to 400%, by request.
- Fixed TargetCC/FocusCC modules on Wrath Classic.
v1.14.20: