Skip to content
Outlands Hub

Razor script

Bard Trainer for Prevalia Zoo

by denox · 163 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

" A Simple Script For Raising Your Barding Skills "######################

TrainingBardDiscordancePeacemakingProvocation
Bard Trainer for Prevalia Zoo.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/3d9a75bb-acaf-4adb-a583-b22f788a5072 for latest2# Automation by Jaseowns3## Script: Bard Trainer for Prevalia Zoo4## Created by: denox#05#############################################6 7#####################" A Simple Script For Raising Your Barding Skills "######################8 9#############################################################################################10###############################" � Make Sure We Are Ready! � "###############################11#############################################################################################12#13# "Step 1:" Set To Match Your "Desired Results"14################# Choose "�" Which Skills To Train: "0=N0, 1=Yes"15@setvar! TrainPeacemaking 116@setvar! TrainDiscordance 117@setvar! TrainProvocation 118@setvar! TrainMusicianshp 119################ "���" Choose Level To Train: "0 to 120 (100.1 - 120 Requires Skill Mastery)"20@setvar! DiscoMax 10021@setvar! MusicMax 10022@setvar! PeaceMax 10023@setvar! ProvoMax 10024# 25# "Step 2:" Make sure you have enough "Cheap Basic Instruments" in your inventory26#                           "(drum, lute, flute, harp or tambourine)"27#28# "Step 3:" Go to "Prevalia Zoo" and stand near one of the animal pens29#        "(or your favorite Battle Trainer)"30#31# "Step 4:" Now we "RUN" the script32#33#############################################################################################34###############################"  I Got It From Here!!!  "###################################35#############################################################################################36if findtype '3763' backpack as BasicLute37    @setvar! CurrentInstrument BasicLute38    sysmsg "We found a Lute to begin"39elseif findtype '3740' backpack as BasicDrum40    @setvar! CurrentInstrument BasicDrum41    sysmsg "We found a Drum to begin"42elseif findtype '3742' backpack as BasicTamborine43    @setvar! CurrentInstrument BasicTamborine44    sysmsg "We found a Tamborine to begin"45elseif findtype '3762' backpack as BasicHarp46    @setvar! CurrentInstrument BasicHarp47    sysmsg "We found a Harp to begin"48elseif findtype '10245' backpack as BasicFlute49    @setvar! CurrentInstrument BasicFlute50    sysmsg "We found a Flute to begin"51endif52@setvar! PeacemakingTimerCD 1100053@setvar! DiscordanceTimerCD 1100054@setvar! ProvocationTimerCD 1100055@setvar! MusicianshipTimerCD 700056if not timerexists PeacemakingTimer57    settimer PeacemakingTimer PeacemakingTimerCD58endif59if not timerexists DiscordanceTimer60    settimer DiscordanceTimer DiscordanceTimerCD61endif62if not timerexists ProvocationTimer63    settimer ProvocationTimer ProvocationTimerCD64endif65if not timerexists MusicianshipTimer66    dclick CurrentInstrument67    settimer MusicianshipTimer 068endif69 70 71while not dead72    if insysmsg "What instrument shall you play?"73        if findtype '3763' backpack as BasicLute74            @setvar! CurrentInstrument BasicLute75        elseif findtype '3740' backpack as BasicDrum76            @setvar! CurrentInstrument BasicDrum77        elseif findtype '3742' backpack as BasicTamborine78            @setvar! CurrentInstrument BasicTamborine79        elseif findtype '3762' backpack as BasicHarp80            @setvar! CurrentInstrument BasicHarp81        elseif findtype '10245' backpack as BasicFlute82            @setvar! CurrentInstrument BasicFlute83        else84            overhead 'Out of instruments' 3385            overhead 'Stopping script' 3386            sysmsg 'Out of instruments'87            sysmsg 'Stopping script'88            stop89        endif90        wft 50091        dclick CurrentInstrument92        clearsysmsg93    endif    94 95    if TrainPeacemaking = 196        @setvar! ProvocationTimerCD 2000097    else 98        @setvar! ProvocationTimerCD 1100099    endif100    if TrainProvocation = 1101        @setvar! PeacemakingTimerCD 20000102    else 103        @setvar! PeacemakingTimerCD 11000104    endif105    106    if TrainPeacemaking = 1 and timer PeacemakingTimer > PeacemakingTimerCD and timer DiscordanceTimer > 11000 and timer DiscordanceTimer > 5500 and timer MusicianshipTimer > 2000107        if skill "Peacemaking" < PeaceMax108            useskill 'Peacemaking'109            wft 500110            hotkey "Target Closest Grey Monster"111            settimer PeacemakingTimer 0112        else 113            overhead "Peacemaking skill {{PeaceMax}} achieved" 48114            @setvar! TrainPeacemaking 0115        endif116    elseif TrainDiscordance = 1 and timer DiscordanceTimer > DiscordanceTimerCD and timer PeacemakingTimer > 5500 and timer ProvocationTimer > 5500 and timer MusicianshipTimer > 2000117        if skill "Discordance" < DiscoMax118            useskill 'Discordance'119            wft 500120            hotkey "Target Closest Grey Monster"121            settimer DiscordanceTimer 0122        else 123            overhead "Discordance skill {{DiscoMax}} achieved" 48124            @setvar! TrainDiscordance 0125        endif126    elseif TrainProvocation = 1 and timer ProvocationTimer > ProvocationTimerCD and timer PeacemakingTimer > 11000 and timer DiscordanceTimer > 5500 and timer MusicianshipTimer > 2000127        if skill "Provocation" < ProvoMax128            useskill 'Provocation'129            wft 500130            hotkey "Target Closest Grey Monster"131            wft 500132            target self133            settimer ProvocationTimer 0134        else 135            overhead "Provocation skill {{ProvoMax}} achieved" 48136            @setvar! TrainProvocation 0 137        endif138    elseif TrainMusicianshp = 1 and timer PeacemakingTimer > 1000 and timer DiscordanceTimer > 1000 and timer ProvocationTimer > 1000 and timer MusicianshipTimer > MusicianshipTimerCD139        if skill "Musicianship" < MusicMax140            dclick CurrentInstrument141            wait 250142            settimer MusicianshipTimer 0143        else 144            overhead "Musicianship skill {{MusicMax}} achieved" 48145            @setvar! TrainMusicianshp 0146        endif147    else 148        if TrainMusicianshp = 0 and TrainPeacemaking = 0 and TrainDiscordance = 0 and TrainProvocation = 0149            sysmsg "We have achieved our goals!" 88150            overhead "Session Complete" 68151            sysmsg "Script Ended" 34152            sysmsg "Thank you for training with us!" 48153            overhead "Happy Barding!" 68154            stop155        endif156    endif157endwhile158while dead 159    overhead "User Error" 34160    overhead "System Corrupted" 34161    sysmsg "You are dead!" 48162    wait 3750163endwhile