Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ZealotOffense()
- if getClass(mayhem.target) == "Indorani" and not mayhem.defenses.speed then
- table.insert(curing.qeb, "touch shield")
- return
- end
- if mayhem.afflictions.slickness and mayhem.afflictions.asthma and mayhem.afflictions.anorexia and mayhem.afflictions.paresis then
- table.insert(curing.qeb, "swagger")
- table.insert(curing.qeb, "psi recover")
- return
- end
- if mayhem.afflictions.slickness and mayhem.afflictions.asthma and mayhem.afflictions.anorexia then
- table.insert(curing.qeb, "psi recover")
- return
- end
- if not mayhem.defenses.firefist then
- table.insert(curing.qeb, "enact firefist")
- table.insert(curing.qeb, "wrath")
- end
- if not combat.afflictions.heatspear and not combat.afflictions.torsodamaged and not combat.afflictions.leftleftdislocated then
- table.insert(curing.qeb, "enact zenith")
- end
- if combat.afflictions.shield then
- table.insert(curing.qeb, "touch hammer " .. mayhem.target)
- end
- -----------------------instant kill zone----------------------
- if combat.checks.immolation then
- table.insert(curing.qeb, "enact immolation " .. mayhem.target)
- elseif combat.afflictions.torsomangled and combat.afflictions.heatspear and combat.afflictions.ablaze then
- table.insert(curing.qeb, "enact quicken " .. mayhem.target)
- elseif not combat.afflictions.infernal and not mayhem.defenses.zenith and combat.afflictions.torsodamaged then
- table.insert(curing.qeb, "enact infernal " .. mayhem.target)
- end
- if combat.afflictions.torsodamaged and combat.afflictions.ablaze and not combat.afflictions.heatspear then
- table.insert(curing.qeb, "enact heatspear " .. mayhem.target)
- elseif not combat.afflictions.sorewrist and not combat.afflictions.musclespasms then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." wristlash twinpress")
- elseif not combat.afflictions.whiplash and not combat.afflictions.musclespasms then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." uprise twinpress")
- elseif not combat.afflictions.sorewrist and not combat.afflictions.musclespasms then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." wristlash twinpress")
- elseif combat.afflictions.musclespasms and combat.afflictions.ablaze and not combat.afflictions.leftlegdislocated and not combat.afflictions.rightlegdislocated and not combat.afflictions.leftlegmangled and not combat.afflictions.rightlegmangled then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." dislocate right leg dislocate left leg ")
- elseif combat.afflictions.musclespasms and combat.afflictions.ablaze and not combat.afflictions.leftarmdislocated and not combat.afflictions.rightarmdislocated and not combat.afflictions.leftarmmangled and not combat.afflictions.rightarmmangled then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." dislocate right arm dislocate left arm ")
- elseif not combat.afflictions.whiplash and not combat.afflictions.sorewrist then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." uprise wristlash")
- elseif not combat.afflictions.musclespasms and not combat.afflictions.leftlegdislocated and not combat.afflictions.leftlegmangled then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." twinpress dislocate left leg ")
- elseif not combat.afflictions.musclespasms and not combat.afflictions.leftarmdislocated and not combat.afflictions.leftarmmangled then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." twinpress dislocate left arm ")
- elseif not combat.afflictions.musclespasms and not combat.afflictions.leftlegdislocated and not combat.afflictions.leftlegmangled then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." twinpress dislocate left leg ")
- elseif not combat.afflictions.musclespasms and not combat.afflictions.rightarmdislocated and not combat.afflictions.rightarmmangled then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." twinpress dislocate right arm ")
- elseif not combat.afflictions.musclespasms and not combat.afflictions.rightlegdislocated and not combat.afflictions.rightarmmangled then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." twinpress dislocate right leg ")
- elseif combat.afflictions.backstrain and not combat.afflictions.torsodamaged and (combat.afflictions.rightlegdamaged or combat.afflictions.leftlegdamaged) and not combat.afflictions.prone then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." clawtwist palmforce ")
- -----------------------------------------------------------------------------------------------------------new
- elseif not combat.afflictions.sorewrist and combat.parried ~= "leftleg" then
- table.insert(curing.qeb, "FLOW "..mayhem.target .." wristlash pummel left leg")
- return
- end
- -----------------------------------------------------------------------------------------------------------------------------------
- local next_attacks = getMonkPriority("zealot", 1)
- local attack1 = FlowHitter(next_attacks[1] or "flowlleg")
- expandAlias(attack1, false)
- if not combat.afflictions.hackles and not combat.afflictions.backstrain then
- send("hackles " .. mayhem.target .. " descent")
- elseif not combat.afflictions.hackles and combat.afflictions.prone and combat.afflictions.heatspear then
- send("hackles " .. mayhem.target .. " whipburst")
- elseif not combat.afflictions.hackles and combat.afflictions.backstrain and not combat.afflictions.blurryvision then
- send("hackles " .. mayhem.target .. " jawcrack")
- elseif not combat.afflictions.hackles and combat.afflictions.blurryvision and not combat.afflictions.whiplash then
- send("hackles " .. mayhem.target .. " uprise")
- elseif not combat.afflictions.hackles and not combat.afflictions.sorewirst and combat.afflictions.whiplash and combat.afflictions.blurryvision then
- send("hackles " .. mayhem.target .. " wristlash")
- elseif not combat.afflictions.hackles and combat.afflictions.blurryvision and combat.afflictions.sorewrist and combat.afflictions.whiplash and not combat.afflictions.soreankle then
- send("hackles " .. mayhem.target .. " anklepin")
- else
- ----send("hackles " .. mayhem.target .. " rive")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement