Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1993x [string "--[[ Error in ' Immolate' ]]return function..."]:16: table index is nil
- [string "--[[ Error in ' Immolate' ]]return function..."]:16: in function `GetPandemic'
- [string "--[[ Error in ' Immolate' ]]return function..."]:5: in function `colorFunc'
- WeakAuras\WeakAuras-@project-version@.lua:2813: in function <WeakAuras\WeakAuras.lua:2733>
- Locals:
- e = <table> {
- state = <table> {
- }
- region = <unnamed> {
- }
- id = "Immolate"
- cloneId = ""
- GetPandemic = <function> defined --[[ Error in ' Immolate' ]]return function() aura_env.GetPandemic = function()
- local e = aura_env
- local s = aura_env.state
- local round = function(num)
- num = math.floor( (num*10)+0.5 )/10
- return num
- end
- -- if details are equal then this is still the same application
- if e[s.GUID] and s.expirationTime == e[s.GUID].expires then
- -- ...so just return what we already have
- aura_env.state.Pan = e[s.GUID].pandemic
- return e[s.GUID].pandemic
- end
- if not e[s.GUID] then
- -- it is the first time through.
- e[s.GUID] = {}
- e[s.GUID].duration = s.duration
- e[s.GUID].pandemic = round(s.duration*0.3)
- elseif s.expirationTime - s.duration > e[s.GUID].expires then
- -- this is a recast
- e[s.GUID].duration = s.duration
- e[s.GUID].pandemic = round(s.duration*0.3)
- else
- local refresh = s.duration - (e[s.GUID].duration + e[s.GUID].pandemic)
- -- if this refresh }
- s = <table> {
- triggernum = 0
- resort = false
- progressType = "timed"
- duration = 0
- expirationTime = inf
- show = true
- name = "Immolate"
- autoHide = false
- id = "Immolate"
- trigger = <table> {
- }
- icon = 135817
- changed = false
- }
- round = <function> defined --[[ Error in ' Immolate' ]]return function() aura_env.GetPandemic = function()
- local e = aura_env
- local s = aura_env.state
- local round = function(num)
- num = math.floor( (num*10)+0.5 )/10
- return num
- end
- -- if details are equal then this is still the same application
- if e[s.GUID] and s.expirationTime == e[s.GUID].expires then
- -- ...so just return what we already have
- aura_env.state.Pan = e[s.GUID].pandemic
- return e[s.GUID].pandemic
- end
- if not e[s.GUID] then
- -- it is the first time through.
- e[s.GUID] = {}
- e[s.GUID].duration = s.duration
- e[s.GUID].pandemic = round(s.duration*0.3)
- elseif s.expirationTime - s.dur
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement