Advertisement
40rnd1ner0atm

Untitled

Oct 4th, 2021
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. function dwcAttack()
  2. if myClass() == "paladin" then
  3. if spec == "Dual Cutting" then
  4. local tbl1 = {"paralysis", "anorexia", "sleep"}
  5. local tbl2 = {"asthma", "slickness", "sensitivity", "weariness", "recklessness", "dizziness", "shyness"}
  6. for k,v in pairs(tbl1) do
  7. if not tarAff(v) then
  8. ven1 = affToVenom(v)
  9. break
  10. else
  11. ven1 = "Curare"
  12. break
  13. end
  14. end
  15.  
  16. for k,v in pairs(tbl2) do
  17. if not tarAff(v) then
  18. if ven1 == "delphinium" or ven1 == "Delphinium" then
  19. ven2 = "Delphinium"
  20. break
  21. else
  22. ven2 = affToVenom(v)
  23. break
  24. end
  25. else
  26. ven2 = "Prefarar"
  27. break
  28. end
  29. end
  30.  
  31. aff1 = venomToAff(ven1):title()
  32. aff2 = venomToAff(ven2):title()
  33. if raid then
  34. limbTarget = "head"
  35. if tarAff("aeon") and not tarAff("damagedhead") then
  36. if (tarReb or tarShield) then
  37. if tarAff("asthma") and tarAff("impatience") and tarAff("slickness") then
  38. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head slike" ..wrathful().. ";queue add eqbal x1")
  39. else
  40. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  41. end
  42. elseif not tarReb and not tarShield then
  43. if tarPercent >= 25 then
  44. if tarAff("asthma") and tarAff("impatience") then
  45. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head slike gecko;queue add eqbal x1")
  46. else
  47. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  48. end
  49. else
  50. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform pyre &tar/perform confront &tar/arc &tar prefarar;queue add eqbal x1")
  51. end
  52. end
  53.  
  54. elseif tarAff("aeon") and tarAff("damagedhead") then
  55. if not (tarReb or tarShield) then
  56. if tarAff("burn5") then
  57. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform damnation &tar;queue add eqbal x1")
  58. elseif not tarAff("burn5") then
  59. local total = 0
  60. local affs = {"spiritburn", "guilt", "pyre"}
  61. for _,a in pairs(affs) do
  62. if tarAff(a) then
  63. total = total+1
  64. end
  65. end
  66.  
  67. if total >= 2 then
  68. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform damnation &tar;queue add eqbal x1")
  69. else
  70. if (tarAff("guilt") or tarAff("spiritburn")) and not tarAff("pyre") then
  71. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform pyre &tar/perform damnation &tar;queue add eqbal x1")
  72. else
  73. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  74. end
  75. end
  76. end
  77. elseif (tarReb or tarShield) then
  78. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  79. end
  80.  
  81. else
  82. if tarAff("damagedhead") then
  83. local total = 0
  84. local affs = {"spiritburn", "guilt", "pyre"}
  85. for _,a in pairs(affs) do
  86. if tarAff(a) then
  87. total = total+1
  88. end
  89. end
  90. if not (tarReb or tarShield) then
  91. if (tarAff("burn5") or total >= 2) then
  92. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform damnation &tar;queue add eqbal x1")
  93. elseif not tarAff("burn5") and total ~= 2 and total ~= 3 then
  94. if (tarAff("spiritburn") or tarAff("guilt")) then
  95. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform pyre &tar/perform damnation &tar;queue add eqbal x1")
  96. else
  97. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2..";queue add eqbal x1")
  98. end
  99. else
  100. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  101. end
  102. elseif (tarReb or tarShield) then
  103. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  104. end
  105. else
  106. if (tarReb or tarShield) then
  107. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  108. else
  109. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  110. end
  111. end
  112. end
  113. else
  114. if (tarReb or tarShield) then
  115. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  116. else
  117. send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  118. end
  119. end
  120. end
  121. end
  122. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement