Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.89 KB | None | 0 0
  1. {
  2. ["outline"] = "OUTLINE",
  3. ["glow"] = false,
  4. ["text1FontSize"] = 38,
  5. ["cooldownTextEnabled"] = true,
  6. ["displayText"] = "%c",
  7. ["customText"] = "function()\n return aura_env.orbs\nend\n\n\n\n",
  8. ["yOffset"] = 204.77774047852,
  9. ["anchorPoint"] = "CENTER",
  10. ["activeTriggerMode"] = -10,
  11. ["customTextUpdate"] = "update",
  12. ["url"] = "https://wago.io/NyIGCeCnf",
  13. ["actions"] = {
  14. ["start"] = {
  15. ["do_sound"] = false,
  16. },
  17. ["init"] = {
  18. ["custom"] = "local enableGlow = true -- glow\nlocal enableIcon = true -- show icon\nlocal enableMarks = false -- assign marks \n\n---------------------------------------\naura_env.nameplates = {}\naura_env.glow = function(unit,show)\n local nameplate = C_NamePlate.GetNamePlateForUnit(unit)\n if not nameplate then return end\n if enableGlow and show then\n if nameplate.UnitFrame and nameplate.UnitFrame.HealthBar then\n -- elvui\n ActionButton_ShowOverlayGlow(nameplate.UnitFrame.HealthBar)\n nameplate = nameplate.UnitFrame.HealthBar\n elseif nameplate.kui then\n -- kui\n ActionButton_ShowOverlayGlow(nameplate.kui.HealthBar)\n nameplate = nameplate.kui.HealthBar\n elseif nameplate.extended then\n -- tidyplates\n ActionButton_ShowOverlayGlow(nameplate.extended.visual.healthbar)\n nameplate = nameplate.extended.visual.healthbar\n elseif nameplate.UnitFrame then \n -- default\n ActionButton_ShowOverlayGlow(nameplate.UnitFrame.healthBar)\n nameplate = nameplate.UnitFrame.healthBar\n end\n aura_env.nameplates[unit] = nameplate\n else\n if nameplate.UnitFrame and nameplate.UnitFrame.HealthBar then\n -- elvui\n ActionButton_HideOverlayGlow(nameplate.UnitFrame.HealthBar)\n nameplate = nameplate.UnitFrame.HealthBar\n elseif nameplate.kui then\n -- kui\n ActionButton_HideOverlayGlow(nameplate.kui.HealthBar)\n nameplate = nameplate.kui.HealthBar\n elseif nameplate.extended then\n -- tidyplates\n ActionButton_HideOverlayGlow(nameplate.extended.visual.healthbar)\n nameplate = nameplate.extended.visual.healthbar\n elseif nameplate.UnitFrame then\n -- default\n ActionButton_HideOverlayGlow(nameplate.UnitFrame.healthBar)\n nameplate = nameplate.UnitFrame.healthBar\n end\n aura_env.nameplates[unit] = nil\n end \nend\n\naura_env.orbs = 0\naura_env.icon = enableIcon\naura_env.marks = enableMarks\naura_env.npcID = { -- possible to add more \n [120651] = true, -- fel explosives\n -- [92168] = true, -- testingdummies\n -- [92166] = true, -- testingdummies\n}\naura_env.marksBlocked = false",
  19. ["do_custom"] = true,
  20. },
  21. ["finish"] = {
  22. ["custom"] = "for i,v in pairs(aura_env.nameplates) do\n --print(i,v)\n ActionButton_HideOverlayGlow(v)\nend",
  23. ["do_custom"] = true,
  24. },
  25. },
  26. ["text1Enabled"] = true,
  27. ["selfPoint"] = "BOTTOM",
  28. ["trigger"] = {
  29. ["type"] = "custom",
  30. ["subeventSuffix"] = "_CAST_START",
  31. ["event"] = "Health",
  32. ["unit"] = "player",
  33. ["subeventPrefix"] = "SPELL",
  34. ["spellIds"] = {
  35. },
  36. ["names"] = {
  37. },
  38. ["check"] = "update",
  39. ["custom_type"] = "status",
  40. ["custom"] = "function()\n local orbsUp = 0\n local markIndex = 1\n for i=1,40 do\n local unit = \"nameplate\"..i \n -- print(unit)\n if UnitExists(unit) then\n local guid = UnitGUID(unit)\n local type, zero, server_id, instance_id, zone_uid, npc_id, spawn_uid = strsplit(\"-\",guid)\n -- print(npc_id)\n if aura_env.npcID[tonumber(npc_id)] then\n -- print('a')\n orbsUp = orbsUp + 1\n aura_env.glow(unit,true)\n if aura_env.marks and not GetRaidTargetIndex(unit) and not aura_env.marksBlocked then \n SetRaidTarget(unit,markIndex)\n if not GetRaidTargetIndex(unit) then\n aura_env.marksBlocked = true\n C_Timer.After(0.1,function() WeakAuras.ScanEvents('WA_RETRYMARKS') end)\n end\n end\n markIndex = markIndex<=8 and markIndex+1 or 1\n else\n aura_env.glow(unit,false)\n end\n end\n end\n aura_env.orbs = orbsUp\n return aura_env.icon and orbsUp > 0\nend",
  41. ["debuffType"] = "HELPFUL",
  42. },
  43. ["desaturate"] = false,
  44. ["text1Point"] = "CENTER",
  45. ["text2FontFlags"] = "OUTLINE",
  46. ["height"] = 70,
  47. ["load"] = {
  48. ["use_size"] = true,
  49. ["use_never"] = false,
  50. ["talent"] = {
  51. ["multi"] = {
  52. },
  53. },
  54. ["class"] = {
  55. ["multi"] = {
  56. },
  57. },
  58. ["use_encounterid"] = false,
  59. ["difficulty"] = {
  60. ["multi"] = {
  61. },
  62. },
  63. ["role"] = {
  64. ["multi"] = {
  65. },
  66. },
  67. ["spec"] = {
  68. ["multi"] = {
  69. },
  70. },
  71. ["faction"] = {
  72. ["multi"] = {
  73. },
  74. },
  75. ["talent2"] = {
  76. ["multi"] = {
  77. },
  78. },
  79. ["pvptalent"] = {
  80. ["multi"] = {
  81. },
  82. },
  83. ["race"] = {
  84. ["multi"] = {
  85. },
  86. },
  87. ["size"] = {
  88. ["single"] = "party",
  89. ["multi"] = {
  90. ["party"] = true,
  91. },
  92. },
  93. },
  94. ["untrigger"] = {
  95. ["custom"] = "function()\n return true\nend\n\n\n\n\n\n\n\n",
  96. },
  97. ["animation"] = {
  98. ["start"] = {
  99. ["duration_type"] = "seconds",
  100. ["type"] = "none",
  101. },
  102. ["main"] = {
  103. ["duration_type"] = "seconds",
  104. ["type"] = "none",
  105. },
  106. ["finish"] = {
  107. ["duration_type"] = "seconds",
  108. ["type"] = "none",
  109. },
  110. },
  111. ["conditions"] = {
  112. },
  113. ["text2Containment"] = "INSIDE",
  114. ["icon"] = true,
  115. ["text1Font"] = "Expressway",
  116. ["stickyDuration"] = false,
  117. ["inverse"] = false,
  118. ["text2Color"] = {
  119. [1] = 1,
  120. [2] = 1,
  121. [3] = 1,
  122. [4] = 1,
  123. },
  124. ["regionType"] = "icon",
  125. ["text2Font"] = "Friz Quadrata TT",
  126. ["text1Color"] = {
  127. [1] = 1,
  128. [2] = 1,
  129. [3] = 1,
  130. [4] = 1,
  131. },
  132. ["text2FontSize"] = 24,
  133. ["anchorFrameType"] = "SCREEN",
  134. ["frameStrata"] = 1,
  135. ["text1"] = "%c",
  136. ["zoom"] = 0,
  137. ["additional_triggers"] = {
  138. [1] = {
  139. ["trigger"] = {
  140. ["custom_hide"] = "timed",
  141. ["type"] = "custom",
  142. ["events"] = "WA_RETRYMARKS",
  143. ["custom_type"] = "event",
  144. ["subeventSuffix"] = "_CAST_START",
  145. ["custom"] = "function(e,unit)\n aura_env.marksBlocked = false\n return false\nend\n\n\n\n",
  146. ["event"] = "Health",
  147. ["subeventPrefix"] = "SPELL",
  148. },
  149. ["untrigger"] = {
  150. },
  151. },
  152. },
  153. ["text2"] = "%p",
  154. ["auto"] = true,
  155. ["text1FontFlags"] = "OUTLINE",
  156. ["id"] = "Explosive Orbs ",
  157. ["justify"] = "LEFT",
  158. ["text2Enabled"] = false,
  159. ["width"] = 70,
  160. ["text1Containment"] = "INSIDE",
  161. ["disjunctive"] = "any",
  162. ["numTriggers"] = 2,
  163. ["xOffset"] = -332.66552734375,
  164. ["init_started"] = 1,
  165. ["displayIcon"] = 135799,
  166. ["color"] = {
  167. [1] = 1,
  168. [2] = 1,
  169. [3] = 1,
  170. [4] = 1,
  171. },
  172. ["text2Point"] = "CENTER",
  173. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement