Originally Posted by
googlebee
And for some unknown reason Bu-BU that code you submitted is now causing the rotation to not work at all.
Not exactly sure why.
Bubu code:
Code:
local PQ_Debuff, _, _, count = UnitDebuffID("target", 33745)
if PQ_Debuff then
if count <= 2 then
return true
elseif count >= 3 then
return false
end
else
return true
end
I think he had a small typo not totally sure
try this:
Code:
local PQ_Debuff, _, _, count = UnitDebuffID("target", 33745)
if PQ_Debuff then
if count <= 2 then
return true
else
if count >= 3 then
return false
end
else
return true
end
also try this one because for some odd reason there are 2 return true statements in that bit of code and can cause maybe an issue? I am no pro but it doesn't seem right...
Code:
local PQ_Debuff, _, _, count = UnitDebuffID("target", 33745)
if PQ_Debuff then
if count <= 2 then
return true
else
if count >= 3 then
return false
end
end