Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. ||Balion Debuff/DPS Macro
  2.  
  3. sub Main
  4.  
  5. /declare clickie int outer 6537
  6. /declare vop string outer Visions of Power Rk. II
  7. /declare debuff string outer Overbearing Power Rk. I
  8. /declare dot string outer Euphoric Noose Rk. II
  9. /declare dd string outer Entwining Thoughts Rk. II
  10.  
  11. ||Phase Variables
  12. /declare tashd int outer 0
  13. /declare oped int outer 0
  14. /declare dotted int outer 0
  15. /declare dpsing int outer 0
  16.  
  17. /goto :debuffs
  18. :debuffs
  19.  
  20. /if (${Me.PctMana} >= 20 && !${Me.Moving}) {
  21. /if ((${tashd} == 0) && (${oped} == 0) && (${dotted} == 0) (${dpsing} == 0)) {
  22. /if (${Cast.Ready[${vop}]}) {
  23. /rs Casting Visions of Power
  24. /casting "${vop}"
  25. /goto :debuffs
  26. }
  27. /if (${Cast.Ready[${clickie}|item]} && (${tashd} == 0) && (${dpsing} == 0)) {
  28. /casting "${clickie}"|item
  29. /rs Mob has been tash'd
  30. /varset tashd 1
  31. /echo tashd set to 1
  32. /goto :debuffs
  33. }
  34. /if (${Cast.Ready[${debuff}]} && ${oped} == 0 && ${dpsing} == 0) {
  35. /casting "${debuff}"
  36. /varset oped 1
  37. /echo oped set to 1
  38. /goto :debuffs
  39. }
  40. /if (${Cast.Ready[${dot}]} && ${dotted} == 0) {
  41. /casting "${dot}"
  42. /varset dotted 1
  43. /echo dotted set to 1
  44. /goto :debuffs
  45. }
  46. /if ((${tashd} == 1) && (${oped} == 1) && (${dotted} == 1) (${dpsing} == 1)) {
  47. /varset dpsing 1
  48. /goto :dding
  49. ||Create timer for the debuff rotation/dd rotation, in testing
  50. /declare DebuffDots timer outer 100s
  51. }
  52. } else {
  53. /if (${dpsing} == 1) {
  54. /goto :deeps
  55. } else {
  56. /goto :debuffs
  57. }
  58. }
  59. } else {
  60. /goto :Med
  61. }
  62. /goto debuffs
  63. /return
  64.  
  65. :dding
  66. /if (${Me.PctMana} >= 20 && !${Me.Moving}) {
  67. /if (${dpsing} == 1) {
  68. /if (${Cast.Ready[${dd}]}) {
  69. /casting "${dd}"
  70. /goto :dding
  71. } else {
  72. /goto :dding
  73. }
  74. /if (${DebuffDots}
  75. } else {
  76. /varset tashd 0
  77. /varset oped 0
  78. /varset dotted 0
  79. /varset dpsing 0
  80. /goto :debuffs
  81. }
  82. } else {
  83. /goto :Med
  84. }
  85. /goto :dding
  86. /return
  87.  
  88. :Med
  89. /if ((${Me.PctMana} < 30) && !${Me.Casting.ID}) {
  90. /if (${Me.Standing}) {
  91. /sit
  92. }
  93. /rs Havok Current Mana [${Me.PctMana}]
  94. /delay 18s
  95. /goto :Med
  96. } else {
  97. /if (${Me.PctMana} > 40) {
  98. /varset tashd 0
  99. /varset oped 0
  100. /varset dotted 0
  101. /varset dpsing 0
  102. /goto :debuffs
  103. /rs Balion Current Mana [${Me.PctMana}]
  104. }
  105. }
  106. /goto :Med
  107. /return
  108.  
  109. sub DebuffsDots
  110. /varset DebuffsDots 100s
  111. /varset tashd 0
  112. /varset oped 0
  113. /varset dotted 0
  114. /varset dpsing 0
  115. /goto :debuffs
  116. /return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement