Here is the code I use for important dispels like poly and fears and such but for some reason it is still dispelling even if UA is present?
I know I'm not getting a double negative from the "and not UnitDebuff(members[i].Unit, 3010" because it dispels properly when it isn't present the issue is that the bot isn't detecting the dot on the target. Does ua have a different id when it is present on a target or is the code wrong?
for i=1,#members do
if dispellableCC(members[i].Unit)
and not PQR_IsOutOfSight(members[i].Unit, 0.1)
and not UnitDebuff(members[i].Unit, 3010
and not UnitDebuff(members[i].Unit, 34914)
and not UnitDebuff(members[i].Unit, 131736) then
_castSpell(527,members[i].Unit)
end