Back to "provocation" skill

Provoke Nearest work in progress by Jaseowns

Description: Check out finished script here: https://outlands.uorazorscripts.com/script/96b8c79e-8a3a-49cd-8272-c425779706ee

################################# # 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! # Pop a pot if below or equal this HP @setvar! autoBardHpCheck 60 if not timerexists sCheck createtimer sCheck settimer sCheck 11000 endif hotkey 'target closest non-friendly monster' wait 200 if insysmsg "no one matching" overhead "Nothing to attack" 34 stop endif @setvar! mobOne lasttarget getlabel mobOne descOne overhead "MobOne = {{descOne}}" 88 @setvar! mobTwo getlabel mobTwo descTwo overhead "MobTwo = {{descTwo}}" 77 while not dead if timer sCheck >= 11000 useskill 'Provocation' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny else overhead "I do not have an inny" 34 wait 2000 replay endif wft 500 endif if targetexists target mobOne wft 500 target mobTwo endif settimer sCheck 0 break else overhead "Waiting for skill cooldown..." 88 wait 500 endif if hp <= autoBardHpCheck if findtype "Yellow Potion" backpack as pot dclick pot endif endif if diffhits >= 10 and not bandaging if skill "healing" > 0 and findtype "clean bandage%s%" backpack hotkey 'Bandage Self' endif endif endwhile while not dead mobOne getlabel mobOne descOne if "discord" in descOne overhead "Already discorded" 88 mobOne break endif if timer sCheck >= 11000 useskill 'Discordance' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny else overhead "I do not have an inny" 34 wait 2000 replay endif wft 500 endif if targetexists target mobOne overhead "Discorded" 88 mobOne endif settimer sCheck 0 break else overhead "Waiting for skill cooldown..." 88 wait 500 endif if hp <= autoBardHpCheck if findtype "Yellow Potion" backpack as pot dclick pot endif endif if diffhits >= 10 and not bandaging if skill "healing" > 0 and findtype "clean bandage%s%" backpack hotkey 'Bandage Self' endif endif endwhile while not dead mobTwo getlabel mobTwo descTwo if "discord" in descTwo overhead "Already discorded" 88 mobTwo break endif if timer sCheck >= 11000 useskill 'Discordance' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny else overhead "I do not have an inny" 34 wait 2000 replay endif wft 500 endif if targetexists target mobTwo overhead "Discorded" 88 mobTwo endif settimer sCheck 0 break else overhead "Waiting for skill cooldown..." 88 wait 500 endif if hp <= autoBardHpCheck if findtype "Yellow Potion" backpack as pot dclick pot endif endif if diffhits >= 10 and not bandaging if skill "healing" > 0 and findtype "clean bandage%s%" backpack hotkey 'Bandage Self' endif endif endwhile while not dead if hp <= autoBardHpCheck if findtype "Yellow Potion" backpack as pot dclick pot endif endif if diffhits >= 10 and not bandaging if skill "healing" > 0 and findtype "clean bandage%s%" backpack hotkey 'Bandage Self' endif endif wait 500 endwhile