#Lua Error after load screens

8 messages · Page 1 of 1 (latest)

digital mica
#

"stagger amount"

#

it most likely has code it doesnt even need

thorn roost
#

alright I will try remove the code and see what happens thanks

thorn roost
#

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

digital mica
#

yep, time to delete that

#

that value is already grapped with a stagger trigger anyway