Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bardPK(tunesmithing,limbtarget,stacktype)
- if limbtarget == "rl" then
- toTarget = "right leg"
- elseif limbtarget == "ll" then
- toTarget = "left leg"
- elseif limbtarget == "la" then
- toTarget = "left arm"
- elseif limbtarget == "ra" then
- toTarget = "right arm"
- elseif limbtarget == "t" then
- toTarget = "torso"
- elseif limbtarget == "h" then
- toTarget = "head"
- else
- toTarget = "nothing"
- end
- -- Do we need rapier? --
- if not svo.me.wielded["301265"] then
- needWield = "get body|wield rapier shield"
- else
- needWield = "get body"
- end
- --- What is our lock type? --
- if stacktype == "afflict" then
- if affstrack.score.slickness<=50 and affstrack.score.asthma==100 and affstrack.score.impatience==100 then
- useVenom = "gecko"
- elseif affstrack.score.slickness<50 and affstrack.score.anorexia==100 and affstrack.score.asthma>=50 then
- elseVenom = "gecko"
- elseif affstrack.score.impatience==100 and affstrack.score.asthma<67 then
- useVenom = "kalmia"
- elseif affstrack.score.paralysis<100 then
- useVenom = "curare"
- elseif affstrack.score.asthma<67 then
- useVenom = "kalmia"
- elseif affstrack.score.weariness<67 then
- useVenom = "vernalius"
- elseif affstrack.score.clumsiness<67 then
- useVenom = "xentio"
- elseif affstrack.score.asthma==100 and affstrack.score.clumsiness>=66 then
- useVenom = "gecko"
- elseif affstrack.score.asthma==100 and affstrack.score.slickness>=50 and affstrack.score.impatience==100 then
- useVenom = "slike"
- elseif affstrack.score.recklessness<67 then
- useVenom = "eurypteria"
- else
- useVenom = "voyria"
- end
- voiceStack = "lock"
- else
- if affstrack.score.paralysis<100 then
- useVenom = "curare"
- elseif affstrack.score.sensitivity<100 then
- useVenom = "prefarar"
- elseif affstrack.score.stupidity<67 and affstrack.score.impatience>50 then
- useVenom = "aconite"
- elseif affstrack.score.dizziness<67 and affstrack.score.impatience>50 then
- useVenom = "larkspur"
- elseif affstrack.score.recklessness<67 and affstrack.score.impatience>50 then
- useVenom = "eurypteria"
- elseif affstrack.score.addiction<67 and affstrack.score.impatience>50 then
- useVenom = "vardrax"
- elseif affstrack.score.clumsiness<67 then
- useVenom = "xentio"
- elseif affstrack.score.darkshade<100 then
- useVenom = "darkshade"
- elseif affstrack.score.nausea<100 then
- useVenom = "euphorbia"
- else
- useVenom = "voyria"
- end
- voiceStack = "damage"
- end
- -- Time for Voice --
- if stacktype == "afflict" then
- if svo.bals.voice then
- if affstrack.score.asthma>=50 and affstrack.score.anorexia<100 and (affstrack.score.slicknes==100 or useVenom=="gecko") and affstrack.score.impatience==100 then
- useVoice = "sing qasida at"
- elseif affstrack.score.impatience<100 then
- useVoice = "sing limerick at"
- elseif affstrack.score.paralysis<100 and useVenom~="curare" then
- useVoice = "recite epic at"
- elseif affstrack.score.clumsiness<67 and useVenom~="xentio" then
- useVoice = "sing maqam at"
- elseif useVenom=="gecko" then
- useVoice = "sing qasida at"
- elseif affstrack.score.stupidity<67 then
- useVoice = "sing passion at"
- elseif affstrack.score.vertigo<67 then
- useVoice = "sing pastorale at"
- elseif affstrack.score.nausea<67 then
- useVoice = "recite poem at"
- elseif affstrack.score.confusion<67 then
- useVoice = "recite haiku at"
- elseif affstrack.score.addiction<67 then
- useVoice = "recite ode at"
- else
- useVoice = "sing solo at"
- end
- else
- if affstrack.score.asthma>=50 and affstrack.score.anorexia<100 and affstrack.score.slickness>=50 and affstrack.score.impatience==100 then
- useVoice = "sing qasida at"
- elseif affstrack.score.impatience<=50 and affstrack.score.asthma==100 then
- useVoice = "sing limerick at"
- elseif affstrack.score.paralysis<100 then
- useVoice = "recite epic at"
- elseif affstrack.score.impatience<100 then
- useVoice = "sing limerick at"
- elseif affstrack.score.clumsiness<100 then
- useVoice = "sing maqam at"
- elseif affstrack.score.stupidity<67 then
- useVoice = "sing passion at"
- elseif affstrack.score.vertigo<67 then
- useVoice = "sing pastorale at"
- elseif affstrack.score.nausea<67 then
- useVoice = "recite poem at"
- elseif affstrack.score.confusion<67 then
- useVoice = "recite haiku at"
- elseif affstrack.score.addiction<67 then
- useVoice = "recite ode at"
- end
- end
- else
- if svo.bals.voice then
- if affstrack.score.impatience<100 then
- useVoice = "sing limerick at"
- elseif affstrack.score.stupidity<100 and useVenom~="aconite" then
- useVoice = "sing passion at"
- elseif affstrack.score.paralysis<100 and useVenom~="curare" then
- useVoice = "recite epic at"
- elseif affstrack.score.clumsiness>67 and affstrack.score.dizziness<67 and useVenom~="larkspur" then
- useVoice = "sing maqam at"
- elseif affstrack.score.epilepsy<67 then
- useVoice = "sing ditty at"
- elseif affstrack.score.confusion<67 then
- useVoice = "recite haiku at"
- elseif affstrack.score.vertigo<67 then
- useVoice = "sing pastorale at"
- elseif affstrack.score.addiction<67 then
- useVoice = "recite ode at"
- elseif affstrack.score.paranoia<67 then
- useVoice = "sing requiem at"
- elseif affstrack.score.nausea<67 then
- useVoice = "recite poem at"
- else
- useVoice = "sing solo at"
- end
- else
- if affstrack.score.impatience<100 then
- useVoice = "sing limerick at"
- elseif affstrack.score.paralysis<100 then
- useVoice = "recite epic at"
- elseif affstrack.score.stupidity<67 then
- useVoice = "sing passion at"
- elseif affstrack.score.epilepsy<67 then
- useVoice = "sing ditty at"
- elseif affstrack.score.confusion<67 then
- useVoice = "recite haiku at"
- elseif affstrack.score.vertigo<67 then
- useVoice = "sing pastorale at"
- elseif affstrack.score.addiction<67 then
- useVoice = "recite ode at"
- elseif affstrack.score.paranoia<67 then
- useVoice = "sing requiem at"
- elseif affstrack.score.clumsiness<100 then
- useVoice = "sing maqam at"
- elseif affstrack.score.nausea<67 then
- useVoice = "recite poem at"
- else
- useVoice = "sing solo at"
- end
- end
- end
- -- Tunesmithing --
- if tunesmithing == "damage" then
- if affstrack.score.deaf<100 then
- useTune = "pesante"
- else
- useTune = "accentato"
- end
- elseif tunesmithing == "affliction" then
- if affstrack.score.prone<100 and affstrack.score.paralysis>=50 then
- useTune = "martellato"
- else
- useTune = "pesante"
- end
- elseif tunesmithing == "prone" then
- useTune = "martellato"
- elseif tunesmithing == "prep" then
- useTune = "acciaccatura"
- else
- if affstrack.score.deaf<100 then
- useTune = "pesante"
- else
- useTune = "accentato"
- end
- end
- -- Actual Attacking --
- if inretardation() then
- send("queue addclear jab "..target.." delphinium")
- else
- send("setalias dovoice "..useVoice.." "..target)
- if rebounding==1 or shielded==1 then
- if svo.bals.voice then
- send("setalias dopk target "..toTarget.."/"..needWield.."/tunesmith rapier "..useTune.."/sing cantata at "..target.."/jab "..target.." "..useVenom.."/assess "..target,false)
- else
- send("setalias dopk "..needWield.."/raze "..target.."/assess "..target,false)
- end
- elseif svo.bals.voice then
- send("setalias dopk target "..toTarget.."/"..needWield.."/tunesmith rapier "..useTune.."/jab "..target.." "..useVenom.."/assess "..target.."/"..useVoice.." "..target)
- else
- send("setalias dopk target "..toTarget.."/"..needWield.."/tunesmith rapier "..useTune.."/jab "..target.." "..useVenom.."/assess "..target)
- end
- end
- end
- -- ALIAS --
- ^aff (.*)$|^aff$
- if matches[2] then
- bardPK("affliction",matches[2],"afflict")
- else
- bardPK("affliction","nothing","afflict")
- end
- send("queue addclear eqbal dopk")
- if svo.bals.voice~="true" and affstrack.score.deaf==100 then
- send("queue addclear class dovoice")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement