Skip to content
Outlands Hub

Razor script

Tamer Care

by vadimkara. · 193 lines
Download

Vars

Taming
Tamer Care.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c0c4fdea-8d18-43e8-b555-62035a44ca09 for latest2# Automation by Jaseowns3## Script: Tamer Care4## Created by: vadimkara.#05#############################################6 7#Vars8@setvar! heal_potion 19@setvar! cure_potion 110@setvar! refresh_potion 111@setvar! strength_potion 112@setvar! agility_potion 113@setvar! resist_potion 114@setvar! pet_heal 115@setvar! crook 116@setvar! pouch 117@setvar! food 118@setvar! amount_of_gold_drop 67019 20#Overhead21@setvar! overhead_cooldown 1000022settimer overhead_timer 023 24#Vet supplies cooldown (ms)25@setvar! vet_supplies_cooldown 500026settimer vet_supplies_timer 027 28#Crook cooldown (ms)29@setvar! crook_cooldown 500030settimer crook_timer 031 32#Potions cooldown (ms)33@setvar! heal_potion_cooldown 90034@setvar! cure_potion_cooldown 90035@setvar! refresh_potion_cooldown 90036@setvar! strength_potion_cooldown 180037@setvar! agility_potion_cooldown 180038@setvar! resist_potion_cooldown 180039@setvar! pouch_cooldown 70040 41settimer heal_potion_timer 042settimer cure_potion_timer 043settimer refresh_potion_timer 044settimer strength_potion_timer 045settimer agility_potion_timer 046settimer resist_potion_timer 047settimer pouch_timer 048 49#Overweight message throttle50@setvar! overweight_message_cooldown 200051settimer overweight_message_timer 052 53while not dead54    if timer overhead_timer > overhead_cooldown55        overhead "PVM ready" 5356        settimer overhead_timer 057    endif58    59    if pet_heal = 160        if followers > 0 or hp < 10061            if not bandaging and timer vet_supplies_timer > vet_supplies_cooldown62                if findtype "veterinary supplies" backpack as vetsupp63                    dclick vetsupp64                    settimer vet_supplies_timer 065                    wait 35066                endif67            endif68        endif69    endif70 71    if crook = 172        if followers > 0 and timer crook_timer > crook_cooldown73            if findtype "shepherd's crook" backpack as crook74                getlabel crook crook_status75                if 'activated' in crook_status76                    #It is already active, do nothing77                else78                    dclick crook79                    settimer crook_timer 080                    wait 35081                endif82            endif83        endif84    endif85 86    if heal_potion = 187        if findtype "Yellow Potion" backpack88            if hp < 60 and timer heal_potion_timer > heal_potion_cooldown89                hotkey "Drink Heal"90                overhead "Heal Potion" 5391                settimer heal_potion_timer  092                wait 35093            endif94        endif95    endif96 97    if cure_potion = 198        if findtype "Orange Potion" backpack and timer cure_potion_timer > cure_potion_cooldown99            if poisoned100                hotkey "Drink Cure"101                overhead "Cure Potion" 53102                settimer cure_potion_timer 0103                wait 350104            endif105            if findbuff "Diseased" or findbuff "Bleeding"106                hotkey "Drink Cure"107                overhead "Cure Potion" 53108                settimer cure_potion_timer 0109                wait 350110            endif111        endif112    endif113 114    if refresh_potion = 1115        if findtype "Red Potion" backpack116            if stam < 50 and timer refresh_potion_timer  > refresh_potion_cooldown117                hotkey "Drink Refresh" 118                overhead "Refresh Potion" 53119                settimer refresh_potion_timer 0120                wait 350121            endif122        endif123    endif124 125    if strength_potion = 1126        if findtype "White Potion" backpack and not findbuff "Strength"127            if warmode = 1 and timer strength_potion_timer > strength_potion_cooldown128                hotkey "Drink Strength"129                overhead "Strength Potion" 53130                wait 900131                settimer strength_potion_timer 0132            endif133        endif134    endif135    136    if agility_potion = 1137        if findtype "Blue Potion" backpack and not findbuff "Agility"138            if warmode = 1 and timer agility_potion_timer > agility_potion_cooldown139                hotkey "Drink Agility"140                overhead "Agility Potion" 53141                wait 900142                settimer agility_potion_timer 0143            endif144        endif145    endif146 147    if resist_potion = 1148        if findtype "Black Potion" backpack and not findbuff "Magic Resist"149            if warmode = 1 and timer resist_potion_timer > resist_potion_cooldown150                hotkey "Drink Magic Resist"151                overhead "Magic Resist Potion" 53152                wait 900153                settimer resist_potion_timer 0154            endif155        endif156    endif157 158    if pouch = 1159        if paralyzed  and timer pouch_timer > pouch_cooldown160            say [pouch161            settimer pouch_timer 0162            wait 350163            if findtype "a rune tome" as rc164                dclick rc165                waitforgump 167090027166                gumpresponse 202 167090027167                waitforgump 167090027168                gumpresponse 11 167090027169            endif170        endif171    endif172 173    if weight > maxweight and timer overweight_message_timer > overweight_message_cooldown174        overhead "Overweight" 34175        settimer overweightMessageTimer 0176        if amount_of_gold_drop > 0177            if findtype "gold coin" backpack as goldpile178                lift goldpile amount_of_gold_drop179                droprelloc 0 0180                wait 350181                overhead "Gold Dropped" 55182            endif183        endif184    endif185 186    if food = 1 and not findbuff "Food Satisfaction"187        if findtype "tray" backpack as foodtray188            dclick foodtray189            wait 350190        endif191    endif192endwhile193replay