Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. THIS IS ALL THE CODE IN THE ANIMATION TAB
  2.  
  3. function(progress, r1, g1, b1, a1, r2, g2, b2, a2)
  4. local stack = (select(4, UnitAura("player", "Incanter's Flow"))) or 0
  5. if stack > pstack then
  6. pstack = stack
  7. lastColor = 1
  8. return 0,1,0,1
  9. elseif stack < pstack then
  10. pstack = stack
  11. lastColor = 2
  12. return 1,0,0,1
  13. elseif lastColor == 1 then
  14. return 0,1,0,1
  15. elseif lastColor == 2 then
  16. return 1,0,0,1
  17. end
  18. end
  19.  
  20.  
  21.  
  22. THIS IS ALL THE CODE IN THE ACTIONS TAB
  23.  
  24. pstack = 0
  25. lastColor = 1
  26.  
  27.  
  28.  
  29. THIS IS THE LUA ERROR MESSAGE
  30.  
  31. Message: Interface\AddOns\WeakAuras\RegionTypes\icon.lua:193: Usage: <unnamed>:SetAlpha(alpha 0 to 1)
  32. Time: 08/03/15 16:37:35
  33. Count: 22477
  34. Stack: [C]: ?
  35. [C]: in function `SetAlpha'
  36. Interface\AddOns\WeakAuras\RegionTypes\icon.lua:193: in function `Color'
  37. Interface\AddOns\WeakAuras\WeakAuras.lua:4274: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:4202>
  38.  
  39. Locals:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement