Skip to content
Outlands Hub

Razor script

Loot / Check Buffs

by Brozan (Syal) · 141 lines
Download
Combat
Loot Check Buffs.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/55ac4fc2-029e-4c76-af88-127c01877981 for latest2# Automation by Jaseowns3## Script: Loot / Check Buffs4## Created by: Brozan (Syal)#45235#############################################6 7if not timerexists 'bardLock'8    createtimer 'bardLock'9    settimer 'bardLock' 300000 10endif11 12#Check for a ship hold13if findtype '16019' ground any any 2 true as found14    dclick found15    wait 25016    restock 217    wait 25018    target found19endif20if findtype '16046' ground any any 2 true as found21    dclick found22    wait 25023    restock 224    wait 25025    target found26endif27if findtype '15973' ground any any 2 true as found28    dclick found29    wait 25030    restock 231    wait 25032    target found33endif34if findtype '16057' ground any any 2 true as found35    dclick found36    wait 25037    restock 238    wait 25039    target found40endif41 42#check for corpses43if findtype 0x2006 'ground' 'any' 1 244    #Check for a blade45    if findtype '11552' backpack46        dclicktype '11552'47        waitfortarget48        hotkey 'Target Self'49    else50        #No blade, open corpses51        @clearignore52        while findtype 0x2006 'ground' 'any' 1 2 as 'found'53            dclick 'found'54            pause 40055            @ignore 'found'56        endwhile57    endif58endif59 60#SS if we are not necro61wait 70062if skill 'Spirit Speak' > 25 63    hotkey 'Spirit Speak'64    wait 105065endif66 67#check buffs68#Food check69if not findbuff 'food satisfaction'70    if not findtype tray backpack71        overhead   "I am out of food!"72        wait 50073        overhead  "I am out of food!"74        wait 50075    else76        dclicktype tray backpack77        wait 35078    endif79endif80#Bless81if skill 'Magery' > 50 and not findbuff 'Strength' 82    overhead 'Bless time'83    cast 'Bless'84    wft 250085    target self86    wait 50087endif88#Protection89if skill 'Magery' > 50 and not findbuff 'Protection' 90    overhead 'Protection time'91    cast 'Arch Protection'92    wft 250093    target self94    wait 50095endif96if 'lockDisco' = 0 and skill "discordance" > 50 and timer "bardLock" > 10000 97    overhead "Disco Buff"98    skill "discordance" 99    wft 2500100    targettype "backpack"101    settimer "bardLock" 0102    setvar 'lockDisco' 1103endif104if  'lockProv' = 0 and skill "provocation" > 50 and timer "bardLock" > 10000105    overhead "Provo Buff"106    skill "provocation" 107    wft 2500108    targettype "backpack"109    settimer "bardLock" 0110    setvar 'lockProv' 1111endif112if 'lockPeace' = 0  and skill "Peacemaking" > 50 and timer "bardLock" > 10000113    overhead "Peace Buff"114    skill "peacemaking" 115    wft 2500116    targettype "backpack"117    settimer "bardLock" 0118    setvar 'lockPeace' 1119endif120if timer 'bardLock' > 12000121    #We did not update any timers so we have cycled all122    @setvar 'lockProv' 0123    @setvar 'lockDisco' 0124    @setvar 'lockPeace' 0125endif126if skill "taste identification" > 50 and not findbuff "Herbal Poultice" 127    overhead "tasteidentification Buff"128    skill "tasteid"129    wft 2500130    targettype "backpack" backpack131    wait 700132endif133if skill "camping" > 50 and not findbuff "Campfire Visit"134    overhead "Need camping buff!"135    wait 500136    overhead "Need camping buff!"137    wait 500138    overhead "Need camping buff!"139    wait 500140endif141script "stayalive2"