#Lua Error after load screens
8 messages · Page 1 of 1 (latest)
alright I will try remove the code and see what happens thanks
function ()
local value = UnitStagger("player")
ret = ""
if(value > 999999) then
ret = string.format("%.1f", value/1000000) .. "M"
elseif(value > 999) then
ret = math.floor(value/1000) .. "k"
elseif(value > 1) then
ret = value
end
return(ret)
end
is there a bug in the code with that?
thats the only code that is in the "stagger amount" weak aura