Advertisement
Guest User

Untitled

a guest
Nov 16th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.90 KB | None | 0 0
  1. ccm.echo(string.format("attackBodypart is %s",attackBodypart))
  2. send("get bone")
  3. send("beckon artifacts")
  4. send("QUEUE RESET bal")
  5. send("target nothing|displace nothing")
  6.  
  7. if instakill == true then
  8. send(string.format("queue eqbal combo hack hack %s opium opium|chill %s ", target, target))
  9. end
  10. cleanseandenhance= "cleanse ".. leftWield.."|cleanse ".. rightWield.."|ENHANCE ".. leftWield.." with teeth rending|ENHANCE ".. rightWield.." with fleshburn soulquench"
  11. if leftWield ~= "longsword374645" or rightWield ~= "longsword298072" then
  12. expandAlias("hlong")
  13. end
  14.  
  15. if Essence>40 then
  16. chillStr=string.format("|chill %s",target)
  17. else
  18. chillStr=""
  19. end
  20.  
  21. for aff,state in ms.afflicted:pairs() do
  22. -- if state == "aff" then
  23. if ms.afflicted[aff] == "aff" then
  24. --linecount = linecount+1
  25. --ccm.affCount=ccm.affCount+1
  26. -- end
  27. --mmp.echo(string.format("[%s: (%s)]",aff,ms.afflicted[aff]))
  28. ccm.echo(string.format("<red>%s ",aff))
  29. end
  30. end
  31.  
  32. -- if ms.afflicted["tendoncut head"]=="notaff" then
  33. -- attackBodypart="head"
  34. -- send("queue eqbal target head|displace head")
  35.  
  36. -- end
  37. --longswords only have one attack
  38.  
  39. if ms.afflicted["haemophilia"] == "aff" then
  40. ccm.echo("lacerate")
  41. firstAttack="lacerate"
  42. secondAttack="lacerate"
  43. envenom=false
  44. else
  45. ccm.echo("shred")
  46. firstAttack="slash"
  47. secondAttack="shred"
  48. envenom=false
  49. end
  50.  
  51.  
  52. if ccm.AttackDone == false and shieldedtarget == true and ccm.targetAura==true then
  53. send(string.format("queue bal top combo raze raze %s| order hound attack %s|engage %s", target, target, target))
  54. ccm.AttackDone = true
  55.  
  56. end
  57.  
  58. if ccm.AttackDone == false and shieldedtarget == true or ccm.targetAura==true then
  59. send(string.format("queue bal top combo raze slash %s ciguatoxin| order hound attack %s|engage %s", target, target, target))
  60. ccm.AttackDone = true
  61.  
  62. end
  63.  
  64. local envStr=""
  65. if ms.afflicted["butisol"] == "notaff" then
  66. ccm.echo("butisol")
  67. secondAff = "butisol"
  68. kelpAttack=string.format("butisol%s", chillStr)
  69. elseif ms.afflicted["asthma"] == "notaff" then
  70. ccm.echo("mercury")
  71. secondAff = "mercury"
  72. kelpAttack=string.format("mercury%s", chillStr)
  73. elseif ms.afflicted["clumsiness"] == "notaff" then
  74. ccm.echo("ether")
  75. secondAff = "ether"
  76. kelpAttack=string.format("ether%s", chillStr)
  77. else
  78. ccm.echo("metrazol")
  79. secondAff = "metrazol"
  80. kelpAttack=string.format("metrazol%s", chillStr)
  81. end
  82.  
  83.  
  84.  
  85. if ccm.AttackDone == false and ms.afflicted["hemotoxin"] == "notaff" and ms.afflicted["numbness"] == "notaff" and ms.afflicted["paralysis"] == "notaff" then
  86. ccm.echo("hemotoxin")
  87. if envenom then
  88. send(string.format("queue bal wipe %s|wipe %s|envenom %s with hemotoxin|envenom %s with %s|combo %s %s %s %s|trueassess %s %s",leftWield, rightWield,leftWield, rightWield, secondAff, firstAttack, secondAttack,target,attackBodypart,target, chillStr ))
  89. else
  90. send(string.format("queue bal combo %s %s %s hemotoxin %s|trueassess %s", firstAttack, secondAttack,target, kelpAttack, target))
  91. end
  92. ccm.AttackDone = true
  93. end
  94.  
  95. if ccm.AttackDone == false and ms.afflicted["hemotoxin"] == "aff" and ms.afflicted["numbness"] == "notaff" and ms.afflicted["paralysis"] == "notaff" then
  96. ccm.echo("ciguatoxin 2nd")
  97. if envenom then
  98. send(string.format("queue bal wipe %s|wipe %s|envenom %s with ciguatoxin|envenom %s with %s|combo %s %s %s %s|trueassess %s %s",leftWield, rightWield,leftWield, rightWield, secondAff, firstAttack, secondAttack,target,attackBodypart, target, chillStr ))
  99. else
  100. send(string.format("queue bal combo %s %s %s ciguatoxin %s|trueassess %s", firstAttack, secondAttack,target, kelpAttack, target))
  101. end
  102. ccm.AttackDone = true
  103. end
  104.  
  105. if ccm.AttackDone == false and ms.afflicted["hemotoxin"] == "notaff" and (ms.afflicted["numbness"] == "aff" or ms.afflicted["paralysis"] == "aff") then
  106. ccm.echo("hemotoxin 2nd")
  107. if envenom then
  108. send(string.format("queue bal wipe %s|wipe %s|envenom %s with hemotoxin|envenom %s with %s|combo %s %s %s %s|trueassess %s %s",leftWield, rightWield,leftWield, rightWield, secondAff, firstAttack, secondAttack,target,attackBodypart,target, chillStr ))
  109. else
  110. send(string.format("queue bal combo %s %s %s hemotoxin %s|trueassess %s", firstAttack, secondAttack,target, kelpAttack, target))
  111. end
  112. ccm.AttackDone = true
  113. end
  114.  
  115.  
  116. if ccm.AttackDone == false and ms.afflicted["sunallergy"] == "notaff" then
  117. ccm.echo("sunallergy")
  118. if envenom then
  119. send(string.format("queue bal wipe %s|wipe %s|envenom %s with xeroderma|envenom %s with %s|combo %s %s %s %s|trueassess %s %s",leftWield, rightWield,leftWield, rightWield, secondAff, firstAttack, secondAttack,target,attackBodypart, target, chillStr ))
  120. else
  121. send(string.format("queue bal combo %s %s %s xeroderma %s|trueassess %s", firstAttack, secondAttack,target, kelpAttack, target))
  122. end
  123. ccm.AttackDone = true
  124. end
  125.  
  126. if ccm.AttackDone == false and ms.afflicted["nausea"] == "notaff" then
  127. ccm.echo("nausea")
  128. if envenom then
  129. send(string.format("queue bal wipe %s|wipe %s|envenom %s with botulinum|envenom %s with %s|combo %s %s %s %s|trueassess %s %s",leftWield, rightWield,leftWield, rightWield, secondAff, firstAttack, secondAttack,target,attackBodypart, target, chillStr ))
  130. else
  131. send(string.format("queue bal combo %s %s %s botulinum %s|trueassess %s", firstAttack, secondAttack,target, kelpAttack, target))
  132. end
  133. ccm.AttackDone = true
  134. end
  135.  
  136.  
  137.  
  138.  
  139.  
  140. if ccm.AttackDone == false then
  141. ccm.echo("sensitivity")
  142. if envenom then
  143. send(string.format("queue bal wipe %s|wipe %s|envenom %s with strychnine|envenom %s with %s|combo %s %s %s %s|trueassess %s %s",leftWield, rightWield,leftWield, rightWield, secondAff, firstAttack, secondAttack,target,attackBodypart,target, chillStr ))
  144. else
  145. send(string.format("queue bal combo %s %s %s strychnine %s|trueassess %s", firstAttack, secondAttack,target, kelpAttack, target))
  146. end
  147. ccm.AttackDone = true
  148. end
  149.  
  150. if not mmp.defs.current.engage then
  151. send(string.format("engage %s",target))
  152. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement