Skip to content
Outlands Hub

Razor script

Healing Loop - Only instant effects

by Brozan (Syal) · 100 lines
Download

Clear sys messaages

HealingHealing
Healing Loop - Only instant effects.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/77ea5d81-528a-4aea-8a9e-f4f4d72f6d06 for latest2# Automation by Jaseowns3## Script: Healing Loop - Only instant effects4## Created by: Brozan (Syal)#45235#############################################6 7# Clear sys messaages 8clearsysmsg9 10@setvar onABoat 011 12if not timerexists "healpot"13    createtimer "healpot"14    settimer "healpot" 800015endif16if not timerexists "aid time"17    createtimer "aid time"18    settimer "aid time" 800019endif20 21if not timerexists "shroomy"22    createtimer "shroomy"23    settimer "shroomy" 6100024endif25 26if not timerexists "spyGlassPeek"27    createtimer 'spyGlassPeek'28    settimer 'spyGlassPeek' 029endif30 31 32while not dead33        34    # If hidden, skip35    if hidden36        continue37    endif38    39    #spyglass routine40     41        if onABoat = 1 and timer "spyGlassPeek" > 6500 and findtype 'spyglass' self 42            gumpclose 289002094043            wait 25044            gumpclose 289002094045            wait 25046            dclicktype 'spyglass'47            waitfortarget 120048            target 'self'49            wait 350 50            gumpresponse 4 289002094051            wait 350 52            settimer "spyGlassPeek" 053        endif54    55    if insysmsg 'you cannot move!'56        overhead 'Paralyzed!' 3457        say [pouch58    endif59    60    #Eat a magic mushroom if we have 61    #25  less mana than full62    if mana < 70 and skill 'Magery' > 50 and timer "shroomy" >= 6100063        dclicktype '29012'64        overhead 'Mushroom Power!'65        settimer "shroomy" 066    endif67 68    # Healing Survival69    if skill 'Healing' > 1 and skill 'veterinary' < 170        if insysmsg 'You begin applying the bandages'71            settimer 'aid time' 072        endif73        if hits < maxhits and timer 'aid time' > 10250 74            hotkey 'bandage self'75            settimer 'aid time' 076        endif77    endif78 79 80    if not findtype "Yellow Potion" backpack81        overhead 'Out of heal potions!' 3482        wait 20083    endif84    85    //Heal drinker if below 4586    if hp < 4587        if findtype "Yellow Potion" backpack88            if timer "healpot" >= 100089                    overhead 'Drinking heal!'90                    potion "heal"91                    wait 20092                    settimer "healpot" 093            endif94        endif95     endif96    97 98     99     wait 100100endwhile