Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function xx_unity()
- local actions = {}
- local utils = xx._util
- local venoms = utils.dict.venoms
- local scythe = utils.dict.scythe
- local dagger = utils.dict.dagger
- local kill = utils.kill()
- if kill and not ak.defs.shield then
- send("setalias pvp "..table.concat(kill, "/"))
- end
- local aff_priority = {
- "paralysis",
- "timeloop",
- "clumsiness",
- "weariness",
- "shadowmadness",
- "depression",
- "retribution",
- "parasite",
- "asthma",
- "slickness",
- "anorexia",
- "justice",
- "nausea"
- }
- if affstrack.score["timeloop"] > 80 then
- local aff_priority = {
- "hypochondria",
- "shadowmadness",
- "retribution",
- "hallucinations",
- "masochism",
- "asthma",
- "slickness",
- "anorexia",
- "depression",
- "parasite",
- "justice",
- "nausea"
- }
- end
- local affs = utils.aff_select(aff_priority)
- if ak.defs.shield then
- actions = { "stand", "wield dagger shield", "shadow strike "..target, "assess "..target, "contemplate "..target }
- elseif affs.timeloop then
- actions = { "stand", atnselect, "wield scythe shield", "shadow instill scythe with "..affs.instill, "wipe "..scythe, affs.timeloop, "shadow reap "..target, "assess "..target, "contemplate "..target }
- elseif affs.venom then
- actions = { "stand", atnselect, "wield scythe shield", "shadow instill scythe with "..affs.instill, "shadow reap "..target.." "..affs.venom, "assess "..target, "contemplate "..target }
- end
- if actions[1] then
- send("setalias pvp "..table.concat(actions, "/"))
- end
- send("queue addclear free pvp")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement