Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
Check out finished script here: https://outlands.uorazorscripts.com/script/96b8c79e-8a3a-49cd-8272-c425779706ee Provoke Bard Bot with Discord by Jaseowns UO Outlands Livestream learning!
BardDiscordanceProvocation
Provoke Nearest work in progress.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/aa95e510-b76b-48ec-98f9-8cfdf16c004b for latest2# Automation by Jaseowns3## Script: Provoke Nearest work in progress4## Created by: Jaseowns#66945#############################################6 7#################################8# Check out finished script here:9# https://outlands.uorazorscripts.com/script/96b8c79e-8a3a-49cd-8272-c425779706ee10#################################11# Provoke Bard Bot with Discord by Jaseowns12# UO Outlands13# Livestream learning!14 15# Pop a pot if below or equal this HP16@setvar! autoBardHpCheck 6017 18if not timerexists sCheck19 createtimer sCheck20 settimer sCheck 1100021endif22 23hotkey 'target closest non-friendly monster'24wait 20025if insysmsg "no one matching"26 overhead "Nothing to attack" 3427 stop28endif29 30@setvar! mobOne lasttarget 31 32getlabel mobOne descOne33overhead "MobOne = {{descOne}}" 8834 35@setvar! mobTwo 36 37getlabel mobTwo descTwo38overhead "MobTwo = {{descTwo}}" 7739 40while not dead41 if timer sCheck >= 1100042 useskill 'Provocation'43 wft 50044 if insysmsg "What instrument"45 if findtype "bamboo flute" backpack as inny46 target inny47 elseif findtype "tambourine" backpack as inny48 target inny49 elseif findtype "drum" backpack as inny50 target inny51 elseif findtype "lute" backpack as inny52 target inny53 elseif findtype "lap harp" backpack as inny54 target inny55 else56 overhead "I do not have an inny" 3457 wait 200058 replay59 endif60 wft 50061 endif62 63 if targetexists 64 target mobOne65 wft 50066 target mobTwo67 endif68 settimer sCheck 069 break70 else71 overhead "Waiting for skill cooldown..." 8872 wait 50073 endif74 75 if hp <= autoBardHpCheck76 if findtype "Yellow Potion" backpack as pot77 dclick pot78 endif79 endif80 81 if diffhits >= 10 and not bandaging82 if skill "healing" > 0 and findtype "clean bandage%s%" backpack83 hotkey 'Bandage Self'84 endif85 endif86endwhile87 88 89while not dead mobOne90 getlabel mobOne descOne91 92 if "discord" in descOne93 overhead "Already discorded" 88 mobOne94 break95 endif96 97 if timer sCheck >= 11000 98 useskill 'Discordance'99 wft 500100 if insysmsg "What instrument"101 if findtype "bamboo flute" backpack as inny102 target inny103 elseif findtype "tambourine" backpack as inny104 target inny105 elseif findtype "drum" backpack as inny106 target inny107 elseif findtype "lute" backpack as inny108 target inny109 elseif findtype "lap harp" backpack as inny110 target inny111 else112 overhead "I do not have an inny" 34113 wait 2000114 replay115 endif116 wft 500117 endif118 if targetexists 119 target mobOne120 overhead "Discorded" 88 mobOne121 endif122 settimer sCheck 0123 break124 else125 overhead "Waiting for skill cooldown..." 88126 wait 500127 endif128 129 130 if hp <= autoBardHpCheck131 if findtype "Yellow Potion" backpack as pot132 dclick pot133 endif134 endif135 136 if diffhits >= 10 and not bandaging137 if skill "healing" > 0 and findtype "clean bandage%s%" backpack138 hotkey 'Bandage Self'139 endif140 endif141endwhile142 143while not dead mobTwo144 145 getlabel mobTwo descTwo146 147 if "discord" in descTwo148 overhead "Already discorded" 88 mobTwo149 break150 endif151 152 if timer sCheck >= 11000153 useskill 'Discordance'154 wft 500155 if insysmsg "What instrument"156 if findtype "bamboo flute" backpack as inny157 target inny158 elseif findtype "tambourine" backpack as inny159 target inny160 elseif findtype "drum" backpack as inny161 target inny162 elseif findtype "lute" backpack as inny163 target inny164 elseif findtype "lap harp" backpack as inny165 target inny166 else167 overhead "I do not have an inny" 34168 wait 2000169 replay170 endif171 wft 500172 endif173 if targetexists 174 target mobTwo175 overhead "Discorded" 88 mobTwo176 endif177 settimer sCheck 0178 break179 else180 overhead "Waiting for skill cooldown..." 88181 wait 500182 endif183 184 if hp <= autoBardHpCheck185 if findtype "Yellow Potion" backpack as pot186 dclick pot187 endif188 endif189 190 if diffhits >= 10 and not bandaging191 if skill "healing" > 0 and findtype "clean bandage%s%" backpack192 hotkey 'Bandage Self'193 endif194 endif195endwhile196 197 198while not dead199 200 if hp <= autoBardHpCheck201 if findtype "Yellow Potion" backpack as pot202 dclick pot203 endif204 endif205 206 if diffhits >= 10 and not bandaging207 if skill "healing" > 0 and findtype "clean bandage%s%" backpack208 hotkey 'Bandage Self'209 endif210 endif211 212 wait 500213 214endwhile