Advertisement
Guest User

Untitled

a guest
May 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. 1993x [string "--[[ Error in ' Immolate' ]]return function..."]:16: table index is nil
  2. [string "--[[ Error in ' Immolate' ]]return function..."]:16: in function `GetPandemic'
  3. [string "--[[ Error in ' Immolate' ]]return function..."]:5: in function `colorFunc'
  4. WeakAuras\WeakAuras-@project-version@.lua:2813: in function <WeakAuras\WeakAuras.lua:2733>
  5.  
  6. Locals:
  7. e = <table> {
  8. state = <table> {
  9. }
  10. region = <unnamed> {
  11. }
  12. id = "Immolate"
  13. cloneId = ""
  14. GetPandemic = <function> defined --[[ Error in ' Immolate' ]]return function() aura_env.GetPandemic = function()
  15. local e = aura_env
  16. local s = aura_env.state
  17. local round = function(num)
  18. num = math.floor( (num*10)+0.5 )/10
  19. return num
  20. end
  21. -- if details are equal then this is still the same application
  22. if e[s.GUID] and s.expirationTime == e[s.GUID].expires then
  23. -- ...so just return what we already have
  24. aura_env.state.Pan = e[s.GUID].pandemic
  25. return e[s.GUID].pandemic
  26. end
  27. if not e[s.GUID] then
  28. -- it is the first time through.
  29. e[s.GUID] = {}
  30. e[s.GUID].duration = s.duration
  31. e[s.GUID].pandemic = round(s.duration*0.3)
  32. elseif s.expirationTime - s.duration > e[s.GUID].expires then
  33. -- this is a recast
  34. e[s.GUID].duration = s.duration
  35. e[s.GUID].pandemic = round(s.duration*0.3)
  36. else
  37. local refresh = s.duration - (e[s.GUID].duration + e[s.GUID].pandemic)
  38. -- if this refresh }
  39. s = <table> {
  40. triggernum = 0
  41. resort = false
  42. progressType = "timed"
  43. duration = 0
  44. expirationTime = inf
  45. show = true
  46. name = "Immolate"
  47. autoHide = false
  48. id = "Immolate"
  49. trigger = <table> {
  50. }
  51. icon = 135817
  52. changed = false
  53. }
  54. round = <function> defined --[[ Error in ' Immolate' ]]return function() aura_env.GetPandemic = function()
  55. local e = aura_env
  56. local s = aura_env.state
  57. local round = function(num)
  58. num = math.floor( (num*10)+0.5 )/10
  59. return num
  60. end
  61. -- if details are equal then this is still the same application
  62. if e[s.GUID] and s.expirationTime == e[s.GUID].expires then
  63. -- ...so just return what we already have
  64. aura_env.state.Pan = e[s.GUID].pandemic
  65. return e[s.GUID].pandemic
  66. end
  67. if not e[s.GUID] then
  68. -- it is the first time through.
  69. e[s.GUID] = {}
  70. e[s.GUID].duration = s.duration
  71. e[s.GUID].pandemic = round(s.duration*0.3)
  72. elseif s.expirationTime - s.dur
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement