Advertisement
hhaos

Untitled

Jan 14th, 2022
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. function DWleach()
  2. local venom = {
  3. addiction = "vardrax",
  4. anorexia = "slike",
  5. asthma = "kalmia",
  6. clumsiness = "xentio",
  7. crippledarm = "epteth",
  8. crippledleg = "epseth",
  9. darkshade = "darkshade",
  10. deafblind = "colocasia",
  11. disloyalty = "monkshood",
  12. dizziness = "larkspur",
  13. haemophilia = "notechis",
  14. nausea = "euphorbia",
  15. paralysis = "curare",
  16. recklessness = "eurypteria",
  17. scytherus = "scytherus",
  18. selarnia = "selarnia",
  19. sensitivity = "prefarar",
  20. shyness = "digitalis",
  21. sleep = "delphinium",
  22. slickness = "gecko",
  23. stupidity = "aconite",
  24. voyria = "voyria",
  25. weariness = "vernalius"
  26. }
  27.  
  28.  
  29. local function venom_select()
  30. local venom_priority = {
  31. "paralysis",
  32. "asthma",
  33. "clumsiness",
  34. "weariness",
  35. "sensitivity"
  36. }
  37.  
  38. for _, aff in ipairs(venom_priority) do
  39. if affstrack.score[aff] < 67 then
  40. return venom[aff]
  41. end
  42. end
  43. end
  44.  
  45.  
  46.  
  47. if ak.defs.shield then
  48. send("setalias XX wield dagger298749/shadow strike "..target.."/assess "..target.."/contemplate "..target)
  49. elseif affstrack.score["parasite"] > 66 and affstrack.score["healthleech"] > 66 then
  50. send("setalias XX wield scythe166074/shadow instill scythe166074 with leach/chrono loop boost/shadow instill scythe with leach/shadow reap "..target.."/assess "..target.."/contemplate "..target)
  51. else
  52. send("setalias XX wield scythe166074/shadow instill scythe166074 with leach/shadow reap "..target.." "..venom_select().."/assess "..target.."/contemplate "..target)
  53. end
  54.  
  55. send("queue addclear eqbal XX")
  56.  
  57. end
  58.  
  59. function DWdegen()
  60.  
  61. local function capstone_available()
  62. for _, aff in ipairs(affs) do
  63.  
  64. if affstrack.score[aff] < 80 then
  65. return false
  66. end
  67. end
  68. return true
  69. end
  70.  
  71. local function instill_select()
  72. return { "shadow instill scythe with degeneration" }
  73. end
  74.  
  75. local venom = {
  76. addiction = "vardrax",
  77. anorexia = "slike",
  78. asthma = "kalmia",
  79. clumsiness = "xentio",
  80. crippledarm = "epteth",
  81. crippledleg = "epseth",
  82. darkshade = "darkshade",
  83. deafblind = "colocasia",
  84. disloyalty = "monkshood",
  85. dizziness = "larkspur",
  86. haemophilia = "notechis",
  87. nausea = "euphorbia",
  88. paralysis = "curare",
  89. recklessness = "eurypteria",
  90. scytherus = "scytherus",
  91. selarnia = "selarnia",
  92. sensitivity = "prefarar",
  93. shyness = "digitalis",
  94. sleep = "delphinium",
  95. slickness = "gecko",
  96. stupidity = "aconite",
  97. voyria = "voyria",
  98. weariness = "vernalius"
  99. }
  100.  
  101. local function venom_select()
  102. local venom_priority = {
  103. "asthma",
  104. "sensitivity",
  105. "nausea",
  106. "darkshade",
  107. "sensitivity",
  108. "clumsiness"
  109. }
  110.  
  111. for _, aff in ipairs(venom_priority) do
  112. if affstrack.score[aff] < 67 then
  113. return venom[aff]
  114. end
  115. end
  116. end
  117.  
  118.  
  119. if ak.defs.shield then
  120. send("setalias XX wield dagger298749/shadow strike "..target)
  121. elseif affstrack.score["clumsiness"] > 66 and affstrack.score["weariness"] > 66 and affstrack.score["paralysis"] <= 66 then
  122. send("setalias XX wield scythe166074/shadow reap "..target.." "..venom_select().."/assess "..target.."/contemplate "..target)
  123. elseif affstrack.score["paralysis"] <= 66 then
  124. send("setalias XX wield scythe166074/shadow reap "..target.." curare/assess "..target.."/contemplate "..target)
  125. elseif capstone_available() then
  126. send("setalias XX wield scythe166074/shadow reap "..target.." prefarar/assess "..target.."/contemplate "..target)
  127. end
  128. send("queue addclear eqbal XX")
  129. end
  130.  
  131. function DWauto()
  132.  
  133. DWmutilate()
  134. DWdictate()
  135.  
  136. if not table.contains(ak.ShadowList, target) then
  137. DWleach()
  138. elseif table.contains(ak.ShadowList, target) then
  139. DWdegen()
  140. end
  141.  
  142. end
  143.  
  144. function DWmutilate()
  145.  
  146. local hp = tonumber(ak.currenthealth)
  147. local maxhp = tonumber(ak.maxhealth)
  148.  
  149. local mutilate_damage = .40 * maxhp
  150. local tooros_damage = .07 * maxhp
  151.  
  152. if (hp <= mutilate_damage + tooros_damage) and table.contains(ak.ShadowList, target) then
  153. send("setalias XX wield dagger298749/shadow mutilate "..target.." prefarar/intone tooros/phylactery list/assess "..target.."/contemplate "..target)
  154. send("queue addclear eqbal XX")
  155. end
  156.  
  157. end
  158.  
  159. function DWdictate()
  160. local affs = {
  161. "depression",
  162. "shadowmadness",
  163. "retribution",
  164. "parasite"
  165. }
  166.  
  167. local threshold = .38
  168. local mp = tonumber(ak.currentmana)
  169. local maxmp = tonumber(ak.maxmana)
  170. local tooros_damage = .05 * maxmp
  171.  
  172. for _,aff in ipairs(affs) do
  173. if affstrack.score[aff] > .8 then
  174. threshold = threshold + 0.05
  175. end
  176. end
  177.  
  178. if mp <= threshold + tooros_damage then
  179. send("setalias XX intone tooros/shadow dictate "..target.."/assess "..target.."/contemplate "..target)
  180. send("queue addclear eqbal XX")
  181.  
  182. end
  183.  
  184. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement