Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. function ShamanOffense()
  2.  
  3.  
  4. if not mayhem.limit.offensemode then
  5. if not mayhem.defenses.shamanspiritsight then
  6.  
  7. table.insert(curing.qeb, "SHAMAN SPIRITSIGHT on")
  8. end
  9. if not combat.afflictions.attune then
  10.  
  11. table.insert(curing.qeb, "order familiar kill " .. mayhem.target)
  12.  
  13. table.insert(curing.qeb, "fetish attune " .. mayhem.target)
  14. end
  15.  
  16. if combat.afflictions.stormtouch and combat.enemystats.health <= tonumber("65") then
  17. table.insert(curing.qeb, "kill " ..mayhem.target)
  18.  
  19. end
  20. if EnemyMentalAffs() >= 4 and not mayhem.systems.group then
  21.  
  22. table.insert(curing.qeb, "commune reclamation " .. mayhem.target)
  23. return
  24. end
  25.  
  26. if gmcp.Char.Vitals.energy > "4" and not combat.afflictions.quicken then
  27.  
  28. table.insert(curing.qeb, "commune quicken " .. mayhem.target)
  29.  
  30.  
  31. if not combat.afflictions.paresis and not combat.afflictions.omen then
  32.  
  33. table.insert(curing.qeb, "commune overload " .. mayhem.target)
  34. elseif not combat.afflictions.confusion then
  35.  
  36. table.insert(combat.queue, "commune sporulation " .. mayhem.target)
  37. elseif combat.afflictions.paralysis then
  38.  
  39. table.insert(curing.qeb, "commune staticburst " .. mayhem.target)
  40. else
  41.  
  42. table.insert(curing.qeb, "commune vinelash " .. mayhem.target)
  43.  
  44. end
  45. return
  46. end
  47.  
  48.  
  49. if combat.afflictions.shield then
  50.  
  51. table.insert(curing.qeb, "commune boost")
  52. table.insert(curing.qeb, "commune leafstorm " .. mayhem.target)
  53. return
  54. end
  55.  
  56. if combat.afflictions.omen and combat.afflictions.stormtouch then
  57. table.insert(curing.qeb, "commune boost")
  58. table.insert(curing.qeb, "commune stormbolt " .. mayhem.target)
  59. return
  60. end
  61.  
  62. if combat.afflictions.premonition and combat.afflictions.infested and combat.afflictions.blighted and not combat.afflictions.omen and combat.afflictions.stormtouch then
  63.  
  64. table.insert(curing.qeb, "shaman omen " .. mayhem.target .. " 6")
  65. return
  66. end
  67.  
  68. --if not combat.afflictions.paresis and not combat.afflictions.stupidity and not combat.afflictions.blackout and gmcp.Char.Vitals.energy > "2" then
  69.  
  70. --if gmcp.Char.Vitals.energy > "0" and not mayhem.defenses.boosting then
  71. --send("commune boost")
  72. --end
  73. --send("commune overload " .. mayhem.target)
  74. --end
  75.  
  76. --if combat.afflictions.blackout then
  77.  
  78. if not combat.afflictions.staticb and gmcp.Char.Vitals.energy > "0" then
  79.  
  80.  
  81. table.insert(curing.qeb, "commune boost")
  82. table.insert(curing.qeb, "commune Staticburst " .. mayhem.target)
  83.  
  84.  
  85. elseif not combat.afflictions.infested and gmcp.Char.Vitals.energy > "1" then
  86.  
  87. table.insert(curing.qeb, "commune infest " .. mayhem.target)
  88.  
  89. elseif not combat.afflictions.premonition and combat.afflictions.infested then
  90.  
  91. table.insert(curing.qeb, "shaman premonition " .. mayhem.target)
  92.  
  93. elseif not combat.afflictions.blighted and combat.afflictions.infested and gmcp.Char.Vitals.energy > "1" then
  94.  
  95. table.insert(curing.qeb, "commune boost")
  96. table.insert(curing.qeb, "commune spines " .. mayhem.target)
  97.  
  98.  
  99. elseif not combat.afflictions.impatience and not combat.afflictions.confusion and (combat.afflictions.premonition or combat.afflictions.canttree) then
  100.  
  101. table.insert(curing.qeb, "commune boost")
  102. table.insert(curing.qeb, "commune sporulation " .. mayhem.target)
  103.  
  104.  
  105. elseif gmcp.Char.Vitals.energy == "4" then
  106.  
  107. table.insert(curing.qeb, "commune scourge " .. mayhem.target)
  108.  
  109. else
  110.  
  111.  
  112.  
  113. table.insert(curing.qeb, "commune vinelash " .. mayhem.target)
  114. end
  115.  
  116.  
  117. startLimiter("offensemode", 0.5)
  118. end
  119. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement