Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. aura_env.updateInterval = 0.05
  2. aura_env.lastUpdate = GetTime()
  3.  
  4. -- SpellID of the spell icon we're showing
  5. aura_env.recommended = 82246
  6.  
  7. -- Abilities
  8. aura_env.abilities = {
  9. frost_strike = 49143,
  10. howling_blast = 49184,
  11. obliterate = 49020,
  12. remorseless_winter = 196770,
  13. obliteration = 207256,
  14. none = 3714 -- path of frost icon for blank
  15. }
  16.  
  17. -- Buffs
  18. aura_env.buffs = {
  19. icy_talons = 194879,
  20. obliteration = 207256,
  21. rime = 59052,
  22. killing_machine = 51124
  23. }
  24.  
  25. -- Get names for each buff since the WoW API is fucking trash and inexplicably needs them over spellIds for some queries
  26. aura_env.buffNames = {}
  27. for k,v in pairs(aura_env.buffs) do
  28. aura_env.buffNames[v] = GetSpellInfo(v)
  29. end
  30.  
  31. -- Debuffs
  32. aura_env.debuffs = {
  33. frost_fever = 55095
  34. }
  35.  
  36. -- Get names of debuffs
  37. aura_env.debuffNames = {}
  38. for k,v in pairs(aura_env.debuffs) do
  39. aura_env.debuffNames[v] = GetSpellInfo(v)
  40. end
  41.  
  42. -- Call to set recommended, makes code more readable later
  43. function aura_env.recommend(spell)
  44. aura_env.recommended = aura_env.abilities[spell]
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement