Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function DWauto()
- if table.contains(ak.ShadowList, target) then
- DWdegen()
- else
- DWleach()
- end
- end
- function DWleach()
- local venom = {
- addiction = "vardrax",
- anorexia = "slike",
- asthma = "kalmia",
- clumsiness = "xentio",
- crippledarm = "epteth",
- crippledleg = "epseth",
- darkshade = "darkshade",
- deafblind = "colocasia",
- disloyalty = "monkshood",
- dizziness = "larkspur",
- haemophilia = "notechis",
- nausea = "euphorbia",
- paralysis = "curare",
- recklessness = "eurypteria",
- scytherus = "scytherus",
- selarnia = "selarnia",
- sensitivity = "prefarar",
- shyness = "digitalis",
- sleep = "delphinium",
- slickness = "gecko",
- stupidity = "aconite",
- voyria = "voyria",
- weariness = "vernalius"
- }
- local function venom_select()
- local venom_priority = {
- "paralysis",
- "asthma",
- "clumsiness",
- "weariness",
- "sensitivity"
- }
- for _, aff in ipairs(venom_priority) do
- if affstrack.score[aff] < 67 then
- return venom[aff]
- end
- end
- end
- if ak.defs.shield then
- send("setalias XX wield dagger298749/shadow strike "..target.." kneel/assess "..target.."/contemplate "..target)
- elseif affstrack.score["parasite"] > 66 and affstrack.score["healthleech"] > 66 then
- send("setalias XX stand/wield scythe shield/shadow instill scythe with leach/chrono loop boost/shadow instill scythe with leach/shadow reap "..target.."/assess "..target.."/contemplate "..target)
- else
- send("setalias XX stand/wield scythe shield/shadow instill scythe with leach/shadow reap "..target.." "..venom_select().."/assess "..target.."/contemplate "..target)
- end
- send("queue addclear eqbal XX")
- end
- function DWdegen()
- local function capstone_available()
- for _, aff in ipairs(affs) do
- if affstrack.score[aff] < 80 then
- return false
- end
- end
- return true
- end
- local function instill_select()
- return { "shadow instill scythe with degeneration" }
- end
- local venom = {
- addiction = "vardrax",
- anorexia = "slike",
- asthma = "kalmia",
- clumsiness = "xentio",
- crippledarm = "epteth",
- crippledleg = "epseth",
- darkshade = "darkshade",
- deafblind = "colocasia",
- disloyalty = "monkshood",
- dizziness = "larkspur",
- haemophilia = "notechis",
- nausea = "euphorbia",
- paralysis = "curare",
- recklessness = "eurypteria",
- scytherus = "scytherus",
- selarnia = "selarnia",
- sensitivity = "prefarar",
- shyness = "digitalis",
- sleep = "delphinium",
- slickness = "gecko",
- stupidity = "aconite",
- voyria = "voyria",
- weariness = "vernalius"
- }
- local function venom_select()
- local venom_priority = {
- "sensitivity",
- "ashma",
- "nausea",
- "darkshade",
- "sensitivity",
- "clumsiness"
- }
- for _, aff in ipairs(venom_priority) do
- if affstrack.score[aff] < 67 then
- return venom[aff]
- end
- end
- end
- if ak.defs.shield then
- send("setalias XX stand/wield dagger298749/shadow strike "..target)
- elseif affstrack.score["clumsiness"] > 66 and affstrack.score["weariness"] > 66 and affstrack.score["paralysis"] <= 66 then
- send("setalias XX stand/wield scythe shield/shadow instill scythe with degeneration/shadow reap "..target.." "..venom_select().."/assess "..target.."/contemplate "..target)
- elseif affstrack.score["paralysis"] <= 66 then
- send("setalias XX stand/wield scythe shield/shadow instill scythe with degeneration/shadow reap "..target.." curare/assess "..target.."/contemplate "..target)
- elseif capstone_available() then
- send("setalias XX stand/wield scythe/shadow instill scythe with degeneration/shadow reap "..target.." prefarar/assess "..target.."/contemplate "..target)
- elseif affstrack.score["sensitivity"] > 66 then
- send("setalias XX stand/wield scythe shield/shadow instill scythe with degeneration/shadow cull "..target.." curare/assess "..target.."/contemplate "..target)
- else
- send("setalias XX stand/wield scythe/shadow instill scythe with degeneration/shadow reap "..target.." prefarar/assess "..target.."/contemplate "..target)
- end
- send("queue add eqbal XX")
- end
- function DWmutilate()
- local hp = tonumber(ak.currenthealth)
- local maxhp = tonumber(ak.maxhealth)
- local mutilate_damage = .38 * maxhp
- local tooros_damage = .05 * maxhp
- if (hp <= mutilate_damage + tooros_damage) and table.contains(ak.ShadowList, target) then
- send("setalias XX stand/wield dagger298749/intone tooros/shadow mutilate "..target.." aconite/phylactery list/assess "..target.."/contemplate "..target)
- send("queue addclear eqbal XX")
- return true
- end
- end
- function DWdictate()
- local affs = {
- "depression",
- "shadowmadness",
- "retribution",
- "parasite"
- }
- local threshold = .38
- local mp = tonumber(ak.currentmana)
- local maxmp = tonumber(ak.maxmana)
- local tooros_damage = .05 * maxmp
- for _,aff in ipairs(affs) do
- if affstrack.score[aff] > .8 then
- threshold = threshold + 0.05
- end
- end
- if mp <= threshold + tooros_damage then
- send("setalias XX stand/intone tooros/shadow dictate "..target.."/assess "..target.."/contemplate "..target)
- send("queue addclear eqbal XX")
- return true
- end
- end
- function DWretri()
- --lots of work with Ksha here, he's awesome give him love
- local venom = {
- addiction = "vardrax",
- anorexia = "slike",
- asthma = "kalmia",
- clumsiness = "xentio",
- crippledarm = "epteth",
- crippledleg = "epseth",
- darkshade = "darkshade",
- deafblind = "colocasia",
- disloyalty = "monkshood",
- dizziness = "larkspur",
- haemophilia = "notechis",
- nausea = "euphorbia",
- paralysis = "curare",
- recklessness = "eurypteria",
- scytherus = "scytherus",
- selarnia = "selarnia",
- sensitivity = "prefarar",
- shyness = "digitalis",
- sleep = "delphinium",
- slickness = "gecko",
- stupidity = "aconite",
- voyria = "voyria",
- weariness = "vernalius"
- }
- local function instill_select()
- return { "shadow instill scythe with retribution" }
- end
- local function venom_select()
- local venom_priority = {
- "paralysis",
- "asthma",
- "clumsiness",
- "weariness",
- "sensitivity"
- }
- for _, aff in ipairs(venom_priority) do
- if affstrack.score[aff] < 67 then
- return venom[aff]
- end
- end
- end
- local function eqbal_select()
- if ak.defs.shield then
- return {"stand", "wield dagger", "shadow strike "..target }
- elseif affstrack.score.timeloop<=66 then
- return {"stand", "wield scythe", "chrono loop", "shadow reap "..target.." "..venom_select(), "contemplate "..target }
- else
- return {"stand", "wield scythe", "shadow reap "..target.." "..venom_select(), " contemplate "..target }
- end
- end
- combined_table = table.combine(instill_select(), eqbal_select())
- send("setalias XX "..table.concat(combined_table, "/")..";;queue add eqbal XX")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement