Advertisement
hhaos

Untitled

Mar 7th, 2022
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. function DWauto()
  2.  
  3. if table.contains(ak.ShadowList, target) then
  4. DWdegen()
  5. else
  6. DWleach()
  7. end
  8.  
  9. end
  10.  
  11. function DWleach()
  12. local venom = {
  13. addiction = "vardrax",
  14. anorexia = "slike",
  15. asthma = "kalmia",
  16. clumsiness = "xentio",
  17. crippledarm = "epteth",
  18. crippledleg = "epseth",
  19. darkshade = "darkshade",
  20. deafblind = "colocasia",
  21. disloyalty = "monkshood",
  22. dizziness = "larkspur",
  23. haemophilia = "notechis",
  24. nausea = "euphorbia",
  25. paralysis = "curare",
  26. recklessness = "eurypteria",
  27. scytherus = "scytherus",
  28. selarnia = "selarnia",
  29. sensitivity = "prefarar",
  30. shyness = "digitalis",
  31. sleep = "delphinium",
  32. slickness = "gecko",
  33. stupidity = "aconite",
  34. voyria = "voyria",
  35. weariness = "vernalius"
  36. }
  37.  
  38.  
  39. local function venom_select()
  40. local venom_priority = {
  41. "paralysis",
  42. "asthma",
  43. "clumsiness",
  44. "weariness",
  45. "sensitivity"
  46. }
  47.  
  48. for _, aff in ipairs(venom_priority) do
  49. if affstrack.score[aff] < 67 then
  50. return venom[aff]
  51. end
  52. end
  53. end
  54.  
  55.  
  56.  
  57. if ak.defs.shield then
  58. send("setalias XX wield dagger298749/shadow strike "..target.." kneel/assess "..target.."/contemplate "..target)
  59. elseif affstrack.score["parasite"] > 66 and affstrack.score["healthleech"] > 66 then
  60. send("setalias XX stand/wield scythe shield/shadow instill scythe with leach/chrono loop boost/shadow instill scythe with leach/shadow reap "..target.."/assess "..target.."/contemplate "..target)
  61. else
  62. send("setalias XX stand/wield scythe shield/shadow instill scythe with leach/shadow reap "..target.." "..venom_select().."/assess "..target.."/contemplate "..target)
  63. end
  64.  
  65. send("queue addclear eqbal XX")
  66.  
  67. end
  68.  
  69. function DWdegen()
  70.  
  71. local function capstone_available()
  72. for _, aff in ipairs(affs) do
  73.  
  74. if affstrack.score[aff] < 80 then
  75. return false
  76. end
  77. end
  78. return true
  79. end
  80.  
  81. local function instill_select()
  82. return { "shadow instill scythe with degeneration" }
  83. end
  84.  
  85. local venom = {
  86. addiction = "vardrax",
  87. anorexia = "slike",
  88. asthma = "kalmia",
  89. clumsiness = "xentio",
  90. crippledarm = "epteth",
  91. crippledleg = "epseth",
  92. darkshade = "darkshade",
  93. deafblind = "colocasia",
  94. disloyalty = "monkshood",
  95. dizziness = "larkspur",
  96. haemophilia = "notechis",
  97. nausea = "euphorbia",
  98. paralysis = "curare",
  99. recklessness = "eurypteria",
  100. scytherus = "scytherus",
  101. selarnia = "selarnia",
  102. sensitivity = "prefarar",
  103. shyness = "digitalis",
  104. sleep = "delphinium",
  105. slickness = "gecko",
  106. stupidity = "aconite",
  107. voyria = "voyria",
  108. weariness = "vernalius"
  109. }
  110.  
  111. local function venom_select()
  112. local venom_priority = {
  113. "sensitivity",
  114. "ashma",
  115. "nausea",
  116. "darkshade",
  117. "sensitivity",
  118. "clumsiness"
  119. }
  120.  
  121. for _, aff in ipairs(venom_priority) do
  122. if affstrack.score[aff] < 67 then
  123. return venom[aff]
  124. end
  125. end
  126. end
  127.  
  128.  
  129. if ak.defs.shield then
  130. send("setalias XX stand/wield dagger298749/shadow strike "..target)
  131. elseif affstrack.score["clumsiness"] > 66 and affstrack.score["weariness"] > 66 and affstrack.score["paralysis"] <= 66 then
  132. send("setalias XX stand/wield scythe shield/shadow instill scythe with degeneration/shadow reap "..target.." "..venom_select().."/assess "..target.."/contemplate "..target)
  133. elseif affstrack.score["paralysis"] <= 66 then
  134. send("setalias XX stand/wield scythe shield/shadow instill scythe with degeneration/shadow reap "..target.." curare/assess "..target.."/contemplate "..target)
  135. elseif capstone_available() then
  136. send("setalias XX stand/wield scythe/shadow instill scythe with degeneration/shadow reap "..target.." prefarar/assess "..target.."/contemplate "..target)
  137. elseif affstrack.score["sensitivty"] > 66 then
  138. send("setalias XX stand/wield scythe shield/shadow instill scythe with degeneration/shadow cull "..target.." curare/assess "..target.."/contemplate "..target)
  139. else
  140. send("setalias XX stand/wield scythe/shadow instill scythe with degeneration/shadow reap "..target.." prefarar/assess "..target.."/contemplate "..target)
  141. end
  142. send("queue add eqbal XX")
  143. end
  144.  
  145. function DWmutilate()
  146.  
  147. local hp = tonumber(ak.currenthealth)
  148. local maxhp = tonumber(ak.maxhealth)
  149.  
  150. local mutilate_damage = .38 * maxhp
  151. local tooros_damage = .05 * maxhp
  152.  
  153. if (hp <= mutilate_damage + tooros_damage) and table.contains(ak.ShadowList, target) then
  154. send("setalias XX stand/wield dagger298749/intone tooros/shadow mutilate "..target.." aconite/phylactery list/assess "..target.."/contemplate "..target)
  155. send("queue addclear eqbal XX")
  156.  
  157. return true
  158. end
  159.  
  160. end
  161.  
  162. function DWdictate()
  163. local affs = {
  164. "depression",
  165. "shadowmadness",
  166. "retribution",
  167. "parasite"
  168. }
  169.  
  170. local threshold = .38
  171. local mp = tonumber(ak.currentmana)
  172. local maxmp = tonumber(ak.maxmana)
  173. local tooros_damage = .05 * maxmp
  174.  
  175. for _,aff in ipairs(affs) do
  176. if affstrack.score[aff] > .8 then
  177. threshold = threshold + 0.05
  178. end
  179. end
  180.  
  181. if mp <= threshold + tooros_damage then
  182. send("setalias XX stand/intone tooros/shadow dictate "..target.."/assess "..target.."/contemplate "..target)
  183. send("queue addclear eqbal XX")
  184.  
  185. return true
  186. end
  187.  
  188. end
  189.  
  190. function DWretri()
  191. --lots of work with Ksha here, he's awesome give him love
  192. local venom = {
  193. addiction = "vardrax",
  194. anorexia = "slike",
  195. asthma = "kalmia",
  196. clumsiness = "xentio",
  197. crippledarm = "epteth",
  198. crippledleg = "epseth",
  199. darkshade = "darkshade",
  200. deafblind = "colocasia",
  201. disloyalty = "monkshood",
  202. dizziness = "larkspur",
  203. haemophilia = "notechis",
  204. nausea = "euphorbia",
  205. paralysis = "curare",
  206. recklessness = "eurypteria",
  207. scytherus = "scytherus",
  208. selarnia = "selarnia",
  209. sensitivity = "prefarar",
  210. shyness = "digitalis",
  211. sleep = "delphinium",
  212. slickness = "gecko",
  213. stupidity = "aconite",
  214. voyria = "voyria",
  215. weariness = "vernalius"
  216. }
  217.  
  218.  
  219. local function instill_select()
  220. return { "shadow instill scythe with retribution" }
  221. end
  222.  
  223. local function venom_select()
  224. local venom_priority = {
  225. "paralysis",
  226. "asthma",
  227. "clumsiness",
  228. "weariness",
  229. "sensitivity"
  230. }
  231.  
  232. for _, aff in ipairs(venom_priority) do
  233. if affstrack.score[aff] < 67 then
  234. return venom[aff]
  235. end
  236. end
  237. end
  238.  
  239. local function eqbal_select()
  240. if ak.defs.shield then
  241. return {"stand", "wield dagger", "shadow strike "..target }
  242. elseif affstrack.score.timeloop<=66 then
  243. return {"stand", "wield scythe", "chrono loop", "shadow reap "..target.." "..venom_select(), "contemplate "..target }
  244. else
  245. return {"stand", "wield scythe", "shadow reap "..target.." "..venom_select(), " contemplate "..target }
  246. end
  247. end
  248.  
  249. combined_table = table.combine(instill_select(), eqbal_select())
  250. send("setalias XX "..table.concat(combined_table, "/")..";;queue add eqbal XX")
  251. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement