So if we take this function
Code:
function test()
if IS_WRATH then
name,_,_,stack,_,duration,timeleft = UnitBuff(target,n)
else
name,_,_,stack,duration,timeleft = UnitBuff(target,n)
end
return name,stack,duration,timeleft
end
name,stack,duration,timeleft are all declared as global variables?
I assume this would not be the case if we declared
Code:
local function test()
...
??