Код: Выделить всё
function uaz266_Disease()
loacal i = 1
local buff,_,_,count,bufftype,duration = UnitDebuff("player", i)
while buff do
if bufftype == "Disease" then return true end
i = i + 1;
buff,_,_,count,bufftype,duration = UnitDebuff("player", i)
end
return false
end
Что надо поправить или где посмотреть чтобы доработать под БФА его?