Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. function IndoraniAffs()
  2.  
  3. local nextSun = sun1 and {sun1, sun2} or getNextPriority("sun", 1)
  4.  
  5. if tonumber(gmcp.Char.Vitals.essence) > 20 and syssinCountAffs() > 10 and combat.afflictions.leech and not mayhem.limit.deform then
  6. table.insert(curing.qeb, "deform " .. mayhem.target)
  7. return
  8. end
  9.  
  10.  
  11.  
  12. if combat.checks.canadder and combat.checks.adder and (combat.afflictions.asthma or combat.afflictions.aeon) then
  13. table.insert(curing.qeb, "activate adder " .. mayhem.target)
  14. end
  15.  
  16.  
  17. local nextSun = sun1 and {sun1, sun2} or getNextPriority("sun", 1)
  18. local nextMoon = moon1 and {moon1, moon2} or getNextPriority("moon", 1)
  19.  
  20.  
  21.  
  22. if combat.afflictions.paralysis and (combat.afflictions.slickness or combat.afflictions.aeon) and (not combat.afflictions.leftarmbroken or not combat.afflictions.rightlegbroken) then
  23.  
  24. if not combat.afflictions.leftarmbroken then
  25. table.insert(curing.qeb, "shrivel " .. mayhem.target .. " left arm")
  26. elseif not combat.afflictions.rightarmbroken then
  27. table.insert(curing.qeb, "shrivel " .. mayhem.target .. " right arm")
  28. elseif not combat.afflictions.leftlegbroken then
  29. table.insert(curing.qeb, "shrivel " .. mayhem.target .. " left leg")
  30. elseif not combat.afflictions.rightlegbroken then
  31. table.insert(curing.qeb, "shrivel " .. mayhem.target .. " right leg")
  32. end
  33.  
  34. elseif not combat.afflictions.aeon and combat.afflictions.asthma and combat.afflictions.slickness and not combat.time["aeon"..mayhem.target] then
  35.  
  36.  
  37. if mayhem.systems.webe then
  38. table.insert(curing.qeb, "wt Using Sun: "..nextSun[1]..".")
  39. end
  40.  
  41. table.insert(curing.qeb, "outc blank as aeon")
  42. table.insert(curing.qeb, "outc blank as sun")
  43. table.insert(curing.qeb, "fling aeon and sun "..(nextSun[1] or "recklessness").." at " .. mayhem.target)
  44.  
  45. elseif combat.checks.canadder and combat.checks.adder and combat.afflictions.weariness then
  46.  
  47. if mayhem.systems.webe then
  48. table.insert(curing.qeb, "wt Using Moon: anorexia Sun: asthma.")
  49. end
  50. table.insert(curing.qeb, "outc blank as moon")
  51. table.insert(curing.qeb, "outc blank as sun")
  52. table.insert(curing.qeb, "fling moon anorexia and sun asthma at " .. mayhem.target)
  53.  
  54.  
  55.  
  56.  
  57. elseif not combat.afflictions.slickness and not combat.checks.adder then
  58.  
  59.  
  60. if mayhem.systems.webe then
  61. table.insert(curing.qeb, "wt Using Moon: "..nextMoon[1]..".")
  62. end
  63.  
  64. table.insert(curing.qeb, "outc blank as moon")
  65. table.insert(curing.qeb, "outc blank as adder")
  66. table.insert(curing.qeb, "fling adder gecko and moon "..(nextMoon[1] or "vomiting").." at " .. mayhem.target)
  67.  
  68. elseif combat.time["focus" .. mayhem.target] and combat.time["endgame".. mayhem.target] and not combat.afflictions.paresis and not combat.afflictions.impatience then
  69. if mayhem.systems.webe then
  70. table.insert(curing.qeb, "wt Using Moon: impatience Sun: paresis.")
  71. end
  72. table.insert(curing.qeb, "outc blank as sun")
  73. table.insert(curing.qeb, "outc blank as moon")
  74. table.insert(curing.qeb, "fling sun paresis and moon impatience at " .. mayhem.target)
  75.  
  76.  
  77. elseif indoraniCountAffs() >= 6 and not combat.time["wheel"..mayhem.target] then
  78.  
  79. if mayhem.systems.webe then
  80. table.insert(curing.qeb, "wt Using Moon: "..nextMoon[1])
  81. end
  82.  
  83. table.insert(curing.qeb, "outc blank as wheel")
  84. table.insert(curing.qeb, "outc blank as moon")
  85. table.insert(curing.qeb, "fling moon " .. (nextMoon[1] or "vomiting").." and wheel at " .. mayhem.target)
  86.  
  87.  
  88. elseif combat.afflictions.deaf and mayhem.target == "Dzekk" then
  89.  
  90. table.insert(curing.qeb, "outc blank as sun")
  91. table.insert(curing.qeb, "outc blank as moon")
  92. table.insert(curing.qeb, "fling sun sensitivity and moon " .. (nextMoon[1] or "vomiting").." at " .. mayhem.target)
  93.  
  94.  
  95. -- fix limit.deform into combat.time["deform" .. mayhem.target]
  96. else
  97.  
  98.  
  99. if mayhem.systems.webe then
  100. table.insert(curing.qeb, "wt Using Moon: "..nextMoon[1].." Sun: "..nextSun[1]..".")
  101. end
  102.  
  103. table.insert(curing.qeb, "outc blank as sun")
  104. table.insert(curing.qeb, "outc blank as moon")
  105. table.insert(curing.qeb, "fling sun " .. (nextSun[1] or "recklessness").." and moon " .. (nextMoon[1] or "vomiting").." at " .. mayhem.target)
  106.  
  107.  
  108. end
  109.  
  110.  
  111.  
  112. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement