Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. {
  2. ["outline"] = "THICKOUTLINE",
  3. ["fontSize"] = 42,
  4. ["xOffset"] = 9.00048828125,
  5. ["displayText"] = "%c",
  6. ["customText"] = "function()\n local t = aura_env.getIconTexture(aura_env.myPos)\n local color = aura_env.getColor(aura_env.myPos)\n return aura_env.myPos and (t .. color ..\"SOAK\" .. t) or \"don't soak\"\nend\n\n\n\n\n\n\n\n\n\n\n",
  7. ["yOffset"] = 209.00067138672,
  8. ["regionType"] = "text",
  9. ["init_started"] = 1,
  10. ["activeTriggerMode"] = -10,
  11. ["customTextUpdate"] = "update",
  12. ["actions"] = {
  13. ["start"] = {
  14. },
  15. ["finish"] = {
  16. },
  17. ["init"] = {
  18. ["do_custom"] = true,
  19. ["custom"] = "\naura_env.getIconTexture = function (n)\n return (\"\"):format(n or 1) \nend\n\naura_env.getColor = function(n)\n return \n n == 1 and \"\" or\n n == 2 and \"\" or\n n == 3 and \"\" or\n n == 4 and \"\" or\n \"\" \nend\n\naura_env.debugPrint = function(t)\n local p = {}\n for _,v in pairs(t) do\n p[v.pos] = (p[v.pos] or v.pos) .. \" - \" .. v.name\n end\n for _,v in ipairs(p) do\n print(v)\n end\nend\n\naura_env.prev = 0\n\naura_env.shots = {}\naura_env.soaker = {}\naura_env.myPos = 8\n\naura_env.buff = GetSpellInfo(239362)\naura_env.debuff = GetSpellInfo(230139)\n\n\n\n\n\n",
  20. },
  21. },
  22. ["untrigger"] = {
  23. },
  24. ["selfPoint"] = "BOTTOM",
  25. ["id"] = "ToS-05-Hydra Soak - My Soak",
  26. ["justify"] = "LEFT",
  27. ["animation"] = {
  28. ["start"] = {
  29. ["duration_type"] = "seconds",
  30. ["type"] = "none",
  31. },
  32. ["main"] = {
  33. ["preset"] = "bounce",
  34. ["duration_type"] = "seconds",
  35. ["type"] = "preset",
  36. },
  37. ["finish"] = {
  38. ["duration_type"] = "seconds",
  39. ["type"] = "none",
  40. },
  41. },
  42. ["trigger"] = {
  43. ["type"] = "custom",
  44. ["custom_type"] = "event",
  45. ["duration"] = "6",
  46. ["event"] = "Health",
  47. ["unit"] = "player",
  48. ["debuffType"] = "HELPFUL",
  49. ["names"] = {
  50. },
  51. ["custom"] = "function(event, _, message, _, sourceGUID, sourceName, _, _, destGUID, destName, _, _, spellId)\n if message == \"SPELL_AURA_APPLIED\" and spellId == 230139 then\n local t = GetTime()\n if t-aura_env.prev > 5 then\n wipe(aura_env.shots)\n wipe(aura_env.soaker)\n aura_env.myPos = nil\n aura_env.prev = t\n end\n \n \n aura_env.shots[#aura_env.shots+1] = destName\n \n if #aura_env.shots == 4 then\n WeakAuras.ScanEvents('WA_SdP_HydraShot')\n end\n end\n if event == \"WA_SdP_HydraShot\" then\n aura_env.myPos = nil\n for i=1,20 do\n local unit = (\"raid%d\"):format(i)\n \n if not UnitDebuff(unit, aura_env.buff) \n and not UnitDebuff(unit, aura_env.debuff) then\n local pos = (#aura_env.soaker+1)%4 + 1\n aura_env.soaker[#aura_env.soaker+1] = {name = UnitName(unit), pos = pos}\n \n if UnitIsUnit(unit, \"player\") then\n aura_env.myPos = pos\n end\n end\n end\n \n WeakAuras.ScanEvents('WA_SdP_HydraList', aura_env.shots, aura_env.soaker)\n \n if aura_env.myPos then\n return true\n end\n end\nend\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
  52. ["subeventPrefix"] = "SPELL",
  53. ["subeventSuffix"] = "_CAST_START",
  54. ["spellIds"] = {
  55. },
  56. ["events"] = "COMBAT_LOG_EVENT_UNFILTERED,WA_SdP_HydraShot",
  57. ["custom_hide"] = "timed",
  58. },
  59. ["width"] = 196.54711914063,
  60. ["frameStrata"] = 1,
  61. ["anchorFrameType"] = "SCREEN",
  62. ["color"] = {
  63. [1] = 1,
  64. [2] = 1,
  65. [3] = 1,
  66. [4] = 1,
  67. },
  68. ["font"] = "Arial Narrow",
  69. ["numTriggers"] = 1,
  70. ["disjunctive"] = "all",
  71. ["height"] = 41.572673797607,
  72. ["conditions"] = {
  73. },
  74. ["load"] = {
  75. ["talent2"] = {
  76. ["multi"] = {
  77. },
  78. },
  79. ["talent"] = {
  80. ["multi"] = {
  81. },
  82. },
  83. ["encounterid"] = "2037",
  84. ["ingroup"] = {
  85. ["multi"] = {
  86. },
  87. },
  88. ["use_encounterid"] = true,
  89. ["difficulty"] = {
  90. ["multi"] = {
  91. },
  92. },
  93. ["race"] = {
  94. ["multi"] = {
  95. },
  96. },
  97. ["spec"] = {
  98. ["multi"] = {
  99. },
  100. },
  101. ["pvptalent"] = {
  102. ["multi"] = {
  103. },
  104. },
  105. ["class"] = {
  106. ["multi"] = {
  107. },
  108. },
  109. ["role"] = {
  110. ["multi"] = {
  111. },
  112. },
  113. ["faction"] = {
  114. ["multi"] = {
  115. },
  116. },
  117. ["size"] = {
  118. ["multi"] = {
  119. },
  120. },
  121. },
  122. ["anchorPoint"] = "CENTER",
  123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement