Skip to content
Outlands Hub

Razor script

Tamer Healing Bot (Pet Focus) Healing Bot

by sic3466 · 245 lines
Download

ONE-TIME STARTUP ACTIONS

TamingHealingHealingFocus
Tamer Healing Bot Pet Focus Healing Bot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/29f4cfd9-e4d4-4360-ba22-f66f87d5dc42 for latest2# Automation by Jaseowns3## Script: Tamer Healing Bot (Pet Focus) Healing Bot4## Created by: sic3466#05#############################################6 7// =======================================8// ONE-TIME STARTUP ACTIONS9// =======================================10hotkey 'Dress: Yuckmouth'11wait 50012 13 14// =======================================15// USER TOGGLES16// =======================================17@setvar! heal_potion 118@setvar! cure_potion 119@setvar! pouch 120@setvar! refresh_potion 121@setvar! buffs_potion 122@setvar! petHealLOOP 123@setvar! food 124@setvar! amountOfGoldToDrop 66625 26 27// -----------------------------28// SELFCARE ACTIVE PULSE29// -----------------------------30@setvar! SelfcarePulseCD 1000031settimer SelfcarePulseTimer 032 33 34// -----------------------------35// Vet supply cooldown (ms)36// -----------------------------37@setvar! VetSuppTimerCD 600038settimer VetSuppTimer 99999939 40 41// -----------------------------42// Potion throttles (ms)43// -----------------------------44@setvar! HealPotionCD 90045@setvar! CurePotionCD 90046@setvar! RefreshPotionCD 80047@setvar! BuffPotionCD 180048@setvar! PouchCD 70049 50settimer HealPotionTimer 051settimer CurePotionTimer 052settimer RefreshPotionTimer 053settimer BuffPotionTimer 054settimer PouchTimer 055 56 57// -----------------------------58// Overweight message throttle59// -----------------------------60@setvar! overweightMessageCD 200061settimer overweightMessageTimer 062 63 64// -----------------------------65// INITIAL OVERHEAD66// -----------------------------67overhead 'VET SPAM ACTIVE'68 69 70while not dead71 72    // =====================================================73    // SELFCARE ACTIVE PULSE (EVERY 10 SECONDS)74    // =====================================================75    if timer SelfcarePulseTimer > SelfcarePulseCD76        overhead 'VET SPAM ACTIVE' 5377        settimer SelfcarePulseTimer 078    endif79 80 81    // =====================================================82    // 1) VET SUPPLY  SERVER-GATED (HIGHEST PRIORITY)83    // =====================================================84    if petHealLOOP = 185        if not bandaging86            if timer VetSuppTimer > VetSuppTimerCD87                if findtype 'veterinary supplies' backpack as vetsupp88 89                    dclick vetsupp90                    settimer VetSuppTimer 091                    wait 40092 93                endif94            endif95        endif96    endif97 98 99    // =====================================================100    // 2) HEAL POTION101    // =====================================================102    if heal_potion = 1103        if hp < 60104            if timer HealPotionTimer > HealPotionCD105                hotkey 'Drink Heal'106                overhead 'Heal Potion' 53107                settimer HealPotionTimer 0108                wait 350109            endif110        endif111    endif112 113 114    // =====================================================115    // 3) CURE / PANACEA116    // =====================================================117    if cure_potion = 1118        if timer CurePotionTimer > CurePotionCD119 120            if poisoned121                hotkey 'Drink Cure'122                overhead 'Cure (Poison)' 53123                settimer CurePotionTimer 0124                wait 350125            else126                if findbuff 'Diseased'127                    hotkey 'Drink Cure'128                    overhead 'Cure (Disease)' 53129                    settimer CurePotionTimer 0130                    wait 350131                else132                    if findbuff 'Bleeding'133                        hotkey 'Drink Cure'134                        overhead 'Cure (Bleed)' 53135                        settimer CurePotionTimer 0136                        wait 350137                    endif138                endif139            endif140 141        endif142    endif143 144 145    // =====================================================146    // 4) REFRESH POTION147    // =====================================================148    if refresh_potion = 1149        if stam < 50150            if timer RefreshPotionTimer > RefreshPotionCD151                hotkey 'Drink Refresh'152                overhead 'Refresh Potion' 53153                settimer RefreshPotionTimer 0154                wait 300155            endif156        endif157    endif158 159 160    // =====================================================161    // 5) BUFF POTIONS  WARMODE ONLY162    // =====================================================163    if buffs_potion = 1164        if warmode 1165            if timer BuffPotionTimer > BuffPotionCD166 167                if not findbuff 'Strength'168                    hotkey 'Drink Strength'169                    overhead 'STR Potion' 53170                    settimer BuffPotionTimer 0171                    wait 900172                endif173 174                if not findbuff 'Agility'175                    hotkey 'Drink Agility'176                    overhead 'AGI Potion' 53177                    settimer BuffPotionTimer 0178                    wait 900179                endif180 181                if not findbuff 'Magic Resist'182                    hotkey 'Drink Magic Resist'183                    overhead 'MR Potion' 53184                    settimer BuffPotionTimer 0185                    wait 900186                endif187 188            endif189        endif190    endif191 192 193    // =====================================================194    // 6) POUCH  PARALYSIS195    // =====================================================196    if pouch = 1197        if paralyzed198            if timer PouchTimer > PouchCD199                say [pouch200                settimer PouchTimer 0201                wait 200202            endif203        endif204    endif205 206 207    // =====================================================208    // 7) OVERWEIGHT GOLD DROP209    // =====================================================210    if weight > maxweight211 212        if timer overweightMessageTimer > overweightMessageCD213            overhead 'Overweight !!' 34214            settimer overweightMessageTimer 0215        endif216 217        if amountOfGoldToDrop > 0218            if findtype 3821 backpack as goldpile219                lift goldpile amountOfGoldToDrop220                droprelloc 0 0221                wait 300222                overhead '* Gold Dropped *' 55223            endif224        endif225 226    endif227 228 229    // =====================================================230    // 8) FOOD / AUTO-EAT231    // =====================================================232    if food = 1233        if not findbuff 'Food Satisfaction'234            if findtype 'tray' backpack as foodtray235                dclick foodtray236                wait 300237            endif238        endif239    endif240 241 242    wait 60243 244endwhile245