Advertisement
pineapplemob

Affliction Queue

Sep 15th, 2013
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.80 KB | None | 0 0
  1. local aurashifthealth = math.floor( gmcp.Char.Vitals.hp / 11 )
  2.  
  3. if (gmcp.Char.Vitals.bal ~= "1" or gmcp.Char.Vitals.eq ~= "1") then
  4. return
  5. else
  6. enlightenornot = true
  7. send("stand")
  8. if (target.shield) then
  9. send("touch hammer " .. target.name)
  10. -- elseif tonumber(aurashifthealth) <= 200 then
  11. -- send("invoke aurashift " .. target.name)
  12. -- Unleash("damage")
  13. -- send("queue eqbal trueassess " .. target.name)
  14. elseif table.contains(target.mentalaffs, "madness") then
  15. Unleash("damage")
  16. send("config deathsight off::invoke enlighten " .. target.name)
  17. elseif spark >= 50 and table.contains(target.afflictions, "aeon") then
  18. send("invoke flash " .. target.name .. " duplicate")
  19. Unleash("damage")
  20. elseif demonleash == 1 and danaeus == 1 and spark >= 70 and deviltentacle == true and #target.afflictions + #target.mentalaffs >= 10 and table.contains(target.afflictions, "deaf") and not table.contains(target.afflictions, "sensitivity") then
  21. deviltentacle = false
  22. devilwindow = "false"
  23. send("invoke nervewrack " .. target.name .. " instant intensify::unleash danaeus at " .. target.name .. "::touch tentacle " .. target.name)
  24. elseif demonleash == 1 and dameron == 1 and spark >= 70 and deviltentacle == true and #target.afflictions + #target.mentalaffs >= 10 and table.contains(target.afflictions, "deaf") and not table.contains(target.afflictions, "sensitivity") then
  25. deviltentacle = false
  26. devilwindow = "false"
  27. send("invoke nervewrack " .. target.name .. " instant intensify::unleash dameron at " .. target.name .. " danaeus::touch tentacle " .. target.name)
  28. elseif demonleash == 1 and danaeus == 1 and spark >= 60 and deviltentacle == true and #target.afflictions + #target.mentalaffs >= 9 and not table.contains(target.afflictions, "sensitivity") and not table.contains(target.afflictions, "deaf") then
  29. deviltentacle = false
  30. devilwindow = "false"
  31. send("invoke flash " .. target.name .. " instant::unleash danaeus at " .. target.name .. "::touch tentacle " .. target.name)
  32. elseif demonleash == 1 and dameron == 1 and spark >= 60 and deviltentacle == true and #target.afflictions + #target.mentalaffs >= 9 and not table.contains(target.afflictions, "sensitivity") and not table.contains(target.afflictions, "deaf") then
  33. deviltentacle = false
  34. devilwindow = "false"
  35. send("invoke flash " .. target.name .. " instant::unleash dameron at " .. target.name .. " danaeus::touch tentacle " .. target.name)
  36. elseif demonleash == 1 and golgotha == 1 and spark >= 70 and #target.afflictions + #target.mentalaffs >= 16 and table.contains(target.afflictions, "deaf") and not table.contains(target.afflictions, "sensitivity") then
  37. send("invoke nervewrack " .. target.name .. " instant intensify::fling devil at " .. target.name .. "::unleash golgotha at " .. target.name)
  38. elseif demonleash == 1 and dameron == 1 and spark >= 70 and #target.afflictions + #target.mentalaffs >= 16 and table.contains(target.afflictions, "deaf") and not table.contains(target.afflictions, "sensitivity") then
  39. send("invoke nervewrack " .. target.name .. " instant::fling devil at " .. target.name .. "::unleash dameron at " .. target.name .. " golgotha")
  40. elseif demonleash == 1 and golgotha == 1 and spark >= 60 and #target.afflictions + #target.mentalaffs >= 14 and not table.contains(target.afflictions, "sensitivity") and not table.contains(target.afflictions, "deaf") then
  41. send("invoke hellsight " .. target.name .. " instant::fling devil at " .. target.name .. "::unleash golgotha at " .. target.name)
  42. elseif demonleash == 1 and dameron == 1 and spark >= 60 and #target.afflictions + #target.mentalaffs >= 14 and not table.contains(target.afflictions, "sensitivity") and not table.contains(target.afflictions, "deaf") then
  43. send("invoke hellsight " .. target.name .. " instant::fling devil at " .. target.name .. "::unleash dameron at " .. target.name .. " golgotha")
  44. elseif demonleash == 1 and golgotha == 1 and #target.afflictions + #target.mentalaffs >= 18 and table.contains(target.afflictions, "deaf") and not table.contains(target.afflictions, "sensitivity") then
  45. send("fling devil at " .. target.name .. "::unleash golgotha at " .. target.name)
  46. elseif demonleash == 1 and dameron == 1 and #target.afflictions + #target.mentalaffs >= 18 and table.contains(target.afflictions, "deaf") and not table.contains(target.afflictions, "sensitivity") then
  47. send("fling devil at " .. target.name .. "::unleash dameron at " .. target.name .. " golgotha")
  48. elseif demonleash == 1 and golgotha == 1 and #target.afflictions + #target.mentalaffs >= 16 and not table.contains(target.afflictions, "sensitivity") and not table.contains(target.afflictions, "deaf") then
  49. send("fling devil at " .. target.name .. "::unleash golgotha at " .. target.name)
  50. elseif demonleash == 1 and dameron == 1 and #target.afflictions + #target.mentalaffs >= 16 and not table.contains(target.afflictions, "sensitivty") and not table.contains(target.afflictions, "deaf") then
  51. send("fling devil at " .. target.name .. "::unleash dameron at " .. target.name .. " golgotha")
  52. elseif spark >= 100 and #target.mentalaffs >= 2 and demonleash == 1 and pyradius == 1 and table.contains(target.afflictions, "impatience") and (table.contains(target.afflictions, "butisol")) and not table.contains(target.afflictions, "asthma") then
  53. send("order " .. target.name .. " smoke pipe with linseed::invoke combustion " .. target.name .. " instant intensify::unleash pyradius at " .. target.name .. "::invoke hellsight " .. target.name .. " instant::invoke whisperingmadness " .. target.name .. "::config deathsight off::queue eq invoke enlighten " .. target.name)
  54. elseif spark >= 100 and #target.mentalaffs >= 2 and demonleash == 1 and dameron == 1 and table.contains(target.afflictions, "impatience") and (table.contains(target.afflictions, "butisol")) and not table.contains(target.afflictions, "asthma") then
  55. send("order " .. target.name .. " smoke pipe with linseed::invoke combustion " .. target.name .. " instant intensify::unleash dameron at " .. target.name .. " pyradius::invoke hellsight " .. target.name .. " instant::invoke whisperingmadness " .. target.name .. "::config deathsight off::queue eq invoke enlighten " .. target.name)
  56. elseif spark >= 90 and #target.mentalaffs >= 2 and demonleash == 1 and pyradius == 1 and table.contains(target.afflictions, "impatience") and table.contains(target.afflictions, "asthma") and not table.contains(target.afflictions, "butisol") then
  57. send("order " .. target.name .. " smoke pipe with linseed::invoke dehydrate " .. target.name .. " instant::unleash pyradius at " .. target.name .. "::invoke hellsight " .. target.name .. " instant::invoke whisperingmadness " .. target.name .. "::config deathsight off::queue eq invoke enlighten " .. target.name)
  58. elseif spark >= 90 and #target.mentalaffs >= 2 and demonleash == 1 and dameron == 1 and table.contains(target.afflictions, "impatience") and table.contains(target.afflictions, "asthma") and not table.contains(target.afflictions, "butisol") then
  59. send("order " .. target.name .. " smoke pipe with linseed::invoke dehydrate " .. target.name .. " instant::unleash dameron at " .. target.name .. " pyradius::invoke hellsight " .. target.name .. " instant::invoke whisperingmadness " .. target.name .. "::config deathsight off::queue eq invoke enlighten " .. target.name)
  60. elseif spark >= 70 and #target.mentalaffs >= 3 and table.contains(target.afflictions, "impatience") and (table.contains(target.afflictions, "butisol")) and not table.contains(target.afflictions, "asthma") then
  61. send("order " .. target.name .. " smoke pipe with linseed::invoke combustion " .. target.name .. " instant intensify::invoke whisperingmadness " .. target.name .. "::config deathsight off::queue eq invoke enlighten " .. target.name)
  62. if demonleash == 1 then
  63. if golgotha == 1 then
  64. send("queue eqbal unleash golgotha at " .. target.name)
  65. elseif dameron == 1 then
  66. send("queue eqbal unleash dameron at " .. target.name .. " golgotha")
  67. elseif belial == 1 then
  68. send("queue eqbal unleash belial at " .. target.name)
  69. elseif lyncantha == 1 then
  70. send("queue eqbal unleash lyncantha at " .. target.name)
  71. end
  72. end
  73. elseif spark >= 60 and #target.mentalaffs >= 3 and table.contains(target.afflictions, "impatience") and table.contains(target.afflictions, "asthma") and not table.contains(target.afflictions, "butisol") then
  74. send("order " .. target.name .. " smoke pipe with linseed::invoke dehydrate " .. target.name .. " instant::invoke whisperingmadness " .. target.name .. "::config deathsight off::queue eq invoke enlighten " .. target.name)
  75. if demonleash == 1 then
  76. if golgotha == 1 then
  77. send("queue eqbal unleash golgotha at " .. target.name)
  78. elseif dameron == 1 then
  79. send("queue eqbal unleash dameron at " .. target.name .. " golgotha")
  80. elseif belial == 1 then
  81. send("queue eqbal unleash belial at " .. target.name)
  82. elseif lyncantha == 1 then
  83. send("queue eqbal unleash lyncantha at " .. target.name)
  84. end
  85. end
  86. elseif spark >= 60 and #target.mentalaffs >= 2 and table.contains(target.afflictions, "impatience") and (table.contains(target.afflictions, "butisol")) and table.contains(target.afflictions, "asthma") then
  87. send("order " .. target.name .. " smoke pipe with linseed::invoke hellsight " .. target.name .. " instant::invoke whisperingmadness " .. target.name .. "::config deathsight off::queue eq invoke enlighten " .. target.name)
  88. if demonleash == 1 then
  89. if golgotha == 1 then
  90. send("queue eqbal unleash golgotha at " .. target.name)
  91. elseif dameron == 1 then
  92. send("queue eqbal unleash dameron at " .. target.name .. " golgotha")
  93. elseif belial == 1 then
  94. send("queue eqbal unleash belial at " .. target.name)
  95. elseif lyncantha == 1 then
  96. send("queue eqbal unleash lyncantha at " .. target.name)
  97. end
  98. end
  99. elseif spark >= 20 and spark <= 40 and demonleash == 1 and pyradius == 1 and (not table.contains(target.afflictions, "taint attunement")) then
  100. send("invoke heave " .. target.name .. " intensify::unleash pyradius at " .. target.name)
  101. elseif spark >= 20 and spark <= 40 and demonleash == 1 and dameron == 1 and (not table.contains(target.afflictions, "taint attunement")) then
  102. send("invoke heave " .. target.name .. " intensify::unleash dameron at " .. target.name .. " pyradius")
  103. elseif spark == 100 and demonleash == 1 and pyradius == 1 and not table.contains(target.afflictions, "impatience") then
  104. Noctu("impatienceduplicatepyradius")
  105. send("unleash pyradius at " .. target.name)
  106. elseif spark == 100 and demonleash == 1 and dameron == 1 and not table.contains(target.afflictions, "impatience") then
  107. Noctu("impatienceduplicatepyradius")
  108. send("unleash dameron at " .. target.name .. " pyradius")
  109. elseif spark >= 90 and demonleash == 1 and pyradius == 1 and (not table.contains(target.afflictions, "taint attunement")) then
  110. send("invoke heave " .. target.name .. " intensify instant::unleash pyradius at " .. target.name)
  111. if not table.contains(target.afflictions, "impatience") then
  112. Noctu("impatience")
  113. elseif spark >= 90 and (not table.contains(target.afflictions, "burning nerves")) then
  114. send("invoke nerveburn " .. target.name .. " intensify")
  115. elseif spark >= 90 and not table.contains(target.afflictions, "sunallergy") then
  116. Noctu("deafintensify")
  117. elseif not table.contains(target.afflictions, "hemotoxin") then
  118. send("beckon artifact 199631::quickdraw axe shield::envenom axe with hemotoxin::throw axe at " .. target.name.. "::beckon artifact 199631")
  119. elseif spark >= 90 and not table.contains(target.mentalaffs, "stupidity") then
  120. Noctu("hallucinationsintensify")
  121. elseif spark >= 90 and (not table.contains(target.afflictions, "butisol")) then
  122. Noctu("healthleechintensify")
  123. elseif spark >= 90 and not table.contains(target.afflictions, "asthma") then
  124. Noctu("asthma")
  125. elseif spark >= 90 and (not table.contains(target.mentalaffs, "vertigo") and not table.contains(target.afflictions, "clumsiness")) then
  126. Noctu("vertigointensify")
  127. elseif (not table.contains(target.afflictions, "burning nerves")) then
  128. Noctu("nerveburn")
  129. elseif (not table.contains(target.mentalaffs, "hallucinations")) then
  130. Noctu("hallucinations")
  131. elseif (not table.contains(target.mentalaffs, "vertigo")) then
  132. Noctu("vertigo")
  133. elseif (not table.contains(target.mentalaffs, "masochism")) then
  134. Noctu("soulburn")
  135. elseif (not table.contains(target.afflictions, "butisol")) then
  136. Noctu("healthleech")
  137. elseif (not table.contains(target.afflictions, "sunallergy")) then
  138. Noctu("deaf")
  139. else
  140. send("fling devil at " .. target.name)
  141. Unleash("damage")
  142. end
  143. elseif spark == 90 and not table.contains(target.afflictions, "sunallergy") and not table.contains(target.afflictions, "deaf") then
  144. Unleash("affliction")
  145. Noctu("deafintensify")
  146. elseif spark >= 90 and demonleash == 1 and golgotha == 1 and not table.contains(target.afflictions, "sunallergy") and table.contains(target.afflictions, "deaf") then
  147. Noctu("deafintensify")
  148. Unleash("damage")
  149. elseif spark >= 90 and demonleash == 1 and dameron == 1 and not table.contains(target.afflictions, "sunallergy") and table.contains(target.afflictions, "deaf") then
  150. Noctu("deafintensify")
  151. Unleash("damage")
  152. elseif spark >= 90 and demonleash == 1 and hecate == 1 and not table.contains(target.afflictions, "sunallergy") and table.contains(target.afflictions, "deaf") then
  153. Noctu("deafintensify")
  154. send("unleash hecate at " .. target.name)
  155. elseif spark >= 90 and demonleash == 1 and lyncantha == 1 and not table.contains(target.afflictions, "sunallergy") and table.contains(target.afflictions, "deaf") then
  156. Noctu("deafintensify")
  157. send("unleash lyncantha at " .. target.name)
  158. elseif not table.contains(target.afflictions, "impatience") then
  159. Noctu("impatience")
  160. elseif spark >= 90 and demonleash == 1 and cadmus == 1 and (not table.contains(target.afflictions, "burning nerves")) then
  161. send("unleash cadmus at " .. target.name .. "::invoke nerveburn " .. target.name .. " intensify")
  162. elseif spark == 90 and not table.contains(target.afflictions, "sunallergy") then
  163. Unleash("affliction")
  164. Noctu("deafintensify")
  165. elseif spark >= 90 and demonleash == 1 and cadmus == 1 and (not table.contains(target.afflictions, "burning nerves")) then
  166. send("unleash cadmus at " .. target.name .. "::invoke nerveburn " .. target.name .. " intensify")
  167. elseif spark >= 90 and demonleash == 1 and dameron == 1 and (not table.contains(target.afflictions, "burning nerves")) then
  168. send("unleash dameron at " .. target.name .. " cadmus::invoke nerveburn " .. target.name .. " intensify")
  169. elseif spark >= 90 and not table.contains(target.afflictions, "asthma") then
  170. Noctu("asthma")
  171. elseif spark >= 90 and not table.contains(target.mentalaffs, "stupidity") then
  172. Noctu("hallucinationsintensify")
  173. elseif spark >= 90 and not table.contains(target.mentalaffs, "stupidity") then
  174. Noctu("hallucinationsintensify")
  175. elseif spark >= 90 and (not table.contains(target.mentalaffs, "vertigo") and not table.contains(target.afflictions, "clumsiness")) then
  176. Noctu("vertigointensify")
  177. elseif spark >= 90 and (not table.contains(target.afflictions, "burning nerves")) then
  178. Noctu("nerveburnintensify")
  179. elseif spark >= 90 and not table.contains(target.afflictions, "sunallergy") then
  180. Noctu("deafintensify")
  181. elseif (not table.contains(target.afflictions, "burning nerves")) then
  182. Noctu("nerveburn")
  183. elseif (not table.contains(target.afflictions, "butisol")) then
  184. Noctu("healthleech")
  185. elseif (not table.contains(target.afflictions, "sunallergy")) then
  186. Noctu("deaf")
  187. elseif (not table.contains(target.mentalaffs, "hallucinations")) then
  188. Noctu("hallucinations")
  189. elseif (not table.contains(target.mentalaffs, "vertigo")) then
  190. Noctu("vertigo")
  191. elseif (not table.contains(target.mentalaffs, "masochism")) then
  192. Noctu("soulburn")
  193. else
  194. send("fling devil at " .. target.name)
  195. Unleash("damage")
  196. end
  197. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement