Originally Posted by
Luciferozzy
Dear NovaTeam or annyone else who is good at useing LUA.
Iam trying to make a funktion for Monk Uplift skill, but its not working.
here is what i have so far.
You didn't copy the whole function from my profile correctly, you need to return the value of uplift and close the function with an end.
Code:
function UpliftHeal()
local uplift=0
for i=1, #members do
if members[i].HP < 80
--Renewing Mist
and UnitBuffID(members[i].unit,115151,"player") then
uplift=uplift+1
end
end
return uplift
end