Advertisement
hhaos

Untitled

Feb 17th, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 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.." kneel/assess "..target.."/contemplate "..target)
  49. elseif affstrack.score["parasite"] > 66 and affstrack.score["healthleech"] > 66 then
  50. 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)
  51. else
  52. send("setalias XX stand/wield scythe shield/shadow instill scythe 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. "sensitivity",
  104. "ashma",
  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 stand/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 stand/wield scythe shield/shadow reap "..target.." "..venom_select().."/assess "..target.."/contemplate "..target)
  123. elseif affstrack.score["paralysis"] <= 66 then
  124. send("setalias XX stand/wield scythe shield/shadow reap "..target.." curare/assess "..target.."/contemplate "..target)
  125. elseif capstone_available() then
  126. send("setalias XX stand/wield scythe/shadow reap "..target.." prefarar/assess "..target.."/contemplate "..target)
  127. elseif affstrack.score["sensitivty"] > 66 then
  128. send("setalias XX stand/wield scythe shield/shadow cull "..target.." curare/assess "..target.."/contemplate "..target)
  129. end
  130. send("queue addclear eqbal XX")
  131. end
  132.  
  133. function DWauto()
  134.  
  135. DWmutilate()
  136. DWdictate()
  137.  
  138. if not table.contains(ak.ShadowList, target) then
  139. DWleach()
  140. elseif table.contains(ak.ShadowList, target) then
  141. DWdegen()
  142. end
  143.  
  144. end
  145.  
  146. function DWmutilate()
  147.  
  148. local hp = tonumber(ak.currenthealth)
  149. local maxhp = tonumber(ak.maxhealth)
  150.  
  151. local mutilate_damage = .38 * maxhp
  152. local tooros_damage = .05 * maxhp
  153.  
  154. if (hp <= mutilate_damage + tooros_damage) and table.contains(ak.ShadowList, target) then
  155. send("setalias XX stand/wield dagger298749/intone tooros/shadow mutilate "..target.." aconite/phylactery list/assess "..target.."/contemplate "..target)
  156. send("queue addclear eqbal XX")
  157. end
  158.  
  159. end
  160.  
  161. function DWdictate()
  162. local affs = {
  163. "depression",
  164. "shadowmadness",
  165. "retribution",
  166. "parasite"
  167. }
  168.  
  169. local threshold = .38
  170. local mp = tonumber(ak.currentmana)
  171. local maxmp = tonumber(ak.maxmana)
  172. local tooros_damage = .05 * maxmp
  173.  
  174. for _,aff in ipairs(affs) do
  175. if affstrack.score[aff] > .8 then
  176. threshold = threshold + 0.05
  177. end
  178. end
  179.  
  180. if mp <= threshold + tooros_damage then
  181. send("setalias XX stand/intone tooros/shadow dictate "..target.."/assess "..target.."/contemplate "..target)
  182. send("queue addclear eqbal XX")
  183.  
  184. end
  185.  
  186. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement