Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sentmaster()
- sentkillcheck()
- if failsafe == false then
- return
- end
- sentLimbPrep()
- --breakorderdet()
- sentlockvenom()
- sentlockenr()
- sentlockspear()
- sentlocklimb()
- sentlockvenom()
- if ready2trip() or failsafe2 == true then
- tripkillseq()
- failsafe2 = true
- return
- end
- sentSend()
- end
- function sentlockvenom()
- if
- (
- (affstrack.score.impatience >= 65 and affstrack.score.epilepsy >= 65) or
- (affstrack.score.impatience >= 65 and sentspear == "doublestrike")
- ) and
- affstrack.score.dizziness <= 50
- then
- sentvenom = "larkspur"
- elseif affstrack.score.darkshade < 33 then
- sentvenom = "darkshade"
- elseif
- (
- (affstrack.score.impatience >= 65 and affstrack.score.epilepsy >= 65) or
- (affstrack.score.impatience >= 65 and sentspear == "doublestrike")
- ) and
- affstrack.score.recklessness <= 50
- then
- sentvenom = "eurypteria"
- elseif affstrack.score.paralysis ~= 100 then
- sentvenom = "curare"
- end
- end
- function sentlockenr()
- if not parryblocked() or (parryblocked() and not badgeraffs()) then
- sentenrage = "badger"
- elseif affstrack.score.sensitivity <= 50 then
- sentenrage = "raven"
- elseif affstrack.kelpscore <= 3 and affstrack.score.healthleech <= 65 then
- sentenrage = "fox"
- elseif affstrack.score.blind ~= 100 then
- sentenrage = "butterfly"
- elseif
- (affstrack.score.impatience >= 65 or sentspear == "doublestrike") and
- affstrack.score.hallucinations <= 65
- then
- sentenrage = "wolf"
- else
- sentenrage = "badger"
- end
- end
- function sentlockspear()
- if not parryblocked() then
- sentspear = "lacerate"
- sentwpn = "trident"
- elseif affstrack.score.impatience <= 65 or affstrack.score.epilepsy <= 65 then
- sentspear = "doublestrike"
- sentwpn = "trident"
- elseif
- affstrack.score.impatience > 65 and affstrack.score.epilepsy > 65 and petrifycheck() >= 2
- then
- sentspear = "throw handaxe at "
- sentwpn = "handaxe"
- elseif affstrack.kelpscore < 2 and affstrack.score.weariness <= 65 then
- sentspear = "gouge"
- sentwpn = "trident"
- else
- sentspear = "throw handaxe at "
- sentwpn = "handaxe"
- end
- end
- function sentkillcheck()
- if petrifycheck() >= 5 then
- failsafe = false
- send("config usequeueing on")
- send(
- "wield trident shield`morph basilisk`enrage butterfly " ..
- target ..
- "`petrify " ..
- target ..
- "`extirpate " ..
- target
- )
- elseif
- petrifycheck() == 4 and affstrack.score.blind == 100 and affstrack.score.hallucinations <= 50
- then
- failsafe = false
- send("config usequeueing on")
- send(
- "morph basilisk`wield trident shield`enrage wolf " ..
- target ..
- "`petrify " ..
- target ..
- "`extirpate " ..
- target
- )
- elseif (grp == "group" and affstrack.score.prone == 100) then
- failsafe = false
- send("config usequeueing on")
- send(
- "alias set sentkill2 stand/enrage raven " ..
- target ..
- "/wield trident shield/skullbash " ..
- target ..
- "/skullbash " ..
- target ..
- "/assess " ..
- target
- )
- send("cq all")
- send("queue add eqbal sentkill")
- end
- end
- function sentlocklimb()
- if #sentLimbTarget > 0 then
- sentLimbPos = math.random(1, #sentLimbTarget)
- sentlimbhit = sentLimbTarget[sentLimbPos]
- if not parryblocked() and affstrack.score.prone == 0 then
- sentlimbhit = ""
- end
- if
- sentlimbcheck(tostring(string.gsub(tripleg, " ", ""))) and
- not tripcheck(triplegshort) and
- sentlimbhit == tripleg
- then
- sentwpn = "trident"
- sentspear = "trip"
- end
- if ak.defs.shield or ak.defs.rebounding then
- sentenrage = "lemming"
- elseif ak.defs.shield and ak.defs.rebounding then
- sentenrage = "lemming"
- sentspear = "rivestrike"
- sentwpn = "trident"
- end
- end
- end
- function sentLimbPrep()
- limbtable = {}
- sentLimbPrepTable = sentLimbPrepTable or {}
- sentLimbPrepTable[target:lower()] = sentLimbPrepTable[target:lower()] or {}
- sentLimbTarget = {}
- if limbprepprio == "sbash" or nil then
- limbtable = {"head", "right leg", "left leg"}
- sentlegcount = 2
- sentarmcount = 0
- if not sentlimbcheck("head") then
- table.insert(sentLimbTarget, "head")
- end
- if not sentlimbcheck("leftleg") then
- table.insert(sentLimbTarget, "left leg")
- table.insert(sentLimbTarget, "left leg")
- end
- if not sentlimbcheck("rightleg") then
- table.insert(sentLimbTarget, "right leg")
- table.insert(sentLimbTarget, "right leg")
- end
- if sentlimbcheck(tostring(string.gsub(tripleg, " ", ""))) and not tripcheck(triplegshort) then
- table.insert(sentLimbTarget, tripleg)
- end
- end
- end
- function sentSend()
- send("config usequeueing off")
- send("cq all")
- send(
- "alias set sentcom stand/wield " ..
- sentwpn ..
- " shield/get body/order entourage kill " ..
- target ..
- "/enrage " ..
- sentenrage ..
- " " ..
- target ..
- "/" ..
- sentspear ..
- " " ..
- target ..
- " " ..
- sentlimbhit ..
- " " ..
- sentvenom ..
- "/assess " ..
- target
- )
- send("sentcom")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement