Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function IndoraniAffs()
- local nextSun = sun1 and {sun1, sun2} or getNextPriority("sun", 1)
- if tonumber(gmcp.Char.Vitals.essence) > 20 and syssinCountAffs() > 10 and combat.afflictions.leech and not mayhem.limit.deform then
- table.insert(curing.qeb, "deform " .. mayhem.target)
- return
- end
- if combat.checks.canadder and combat.checks.adder and (combat.afflictions.asthma or combat.afflictions.aeon) then
- table.insert(curing.qeb, "activate adder " .. mayhem.target)
- end
- local nextSun = sun1 and {sun1, sun2} or getNextPriority("sun", 1)
- local nextMoon = moon1 and {moon1, moon2} or getNextPriority("moon", 1)
- if combat.afflictions.paralysis and (combat.afflictions.slickness or combat.afflictions.aeon) and (not combat.afflictions.leftarmbroken or not combat.afflictions.rightlegbroken) then
- if not combat.afflictions.leftarmbroken then
- table.insert(curing.qeb, "shrivel " .. mayhem.target .. " left arm")
- elseif not combat.afflictions.rightarmbroken then
- table.insert(curing.qeb, "shrivel " .. mayhem.target .. " right arm")
- elseif not combat.afflictions.leftlegbroken then
- table.insert(curing.qeb, "shrivel " .. mayhem.target .. " left leg")
- elseif not combat.afflictions.rightlegbroken then
- table.insert(curing.qeb, "shrivel " .. mayhem.target .. " right leg")
- end
- elseif not combat.afflictions.aeon and combat.afflictions.asthma and combat.afflictions.slickness and not combat.time["aeon"..mayhem.target] then
- if mayhem.systems.webe then
- table.insert(curing.qeb, "wt Using Sun: "..nextSun[1]..".")
- end
- table.insert(curing.qeb, "outc blank as aeon")
- table.insert(curing.qeb, "outc blank as sun")
- table.insert(curing.qeb, "fling aeon and sun "..(nextSun[1] or "recklessness").." at " .. mayhem.target)
- elseif combat.checks.canadder and combat.checks.adder and combat.afflictions.weariness then
- if mayhem.systems.webe then
- table.insert(curing.qeb, "wt Using Moon: anorexia Sun: asthma.")
- end
- table.insert(curing.qeb, "outc blank as moon")
- table.insert(curing.qeb, "outc blank as sun")
- table.insert(curing.qeb, "fling moon anorexia and sun asthma at " .. mayhem.target)
- elseif not combat.afflictions.slickness and not combat.checks.adder then
- if mayhem.systems.webe then
- table.insert(curing.qeb, "wt Using Moon: "..nextMoon[1]..".")
- end
- table.insert(curing.qeb, "outc blank as moon")
- table.insert(curing.qeb, "outc blank as adder")
- table.insert(curing.qeb, "fling adder gecko and moon "..(nextMoon[1] or "vomiting").." at " .. mayhem.target)
- elseif combat.time["focus" .. mayhem.target] and combat.time["endgame".. mayhem.target] and not combat.afflictions.paresis and not combat.afflictions.impatience then
- if mayhem.systems.webe then
- table.insert(curing.qeb, "wt Using Moon: impatience Sun: paresis.")
- end
- table.insert(curing.qeb, "outc blank as sun")
- table.insert(curing.qeb, "outc blank as moon")
- table.insert(curing.qeb, "fling sun paresis and moon impatience at " .. mayhem.target)
- elseif indoraniCountAffs() >= 6 and not combat.time["wheel"..mayhem.target] then
- if mayhem.systems.webe then
- table.insert(curing.qeb, "wt Using Moon: "..nextMoon[1])
- end
- table.insert(curing.qeb, "outc blank as wheel")
- table.insert(curing.qeb, "outc blank as moon")
- table.insert(curing.qeb, "fling moon " .. (nextMoon[1] or "vomiting").." and wheel at " .. mayhem.target)
- elseif combat.afflictions.deaf and mayhem.target == "Dzekk" then
- table.insert(curing.qeb, "outc blank as sun")
- table.insert(curing.qeb, "outc blank as moon")
- table.insert(curing.qeb, "fling sun sensitivity and moon " .. (nextMoon[1] or "vomiting").." at " .. mayhem.target)
- -- fix limit.deform into combat.time["deform" .. mayhem.target]
- else
- if mayhem.systems.webe then
- table.insert(curing.qeb, "wt Using Moon: "..nextMoon[1].." Sun: "..nextSun[1]..".")
- end
- table.insert(curing.qeb, "outc blank as sun")
- table.insert(curing.qeb, "outc blank as moon")
- table.insert(curing.qeb, "fling sun " .. (nextSun[1] or "recklessness").." and moon " .. (nextMoon[1] or "vomiting").." at " .. mayhem.target)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement