Skip to content
Outlands Hub

Razor script

Explosion Potion Helper (throw explopot safely)

by doubleduke · 83 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.

INFO Set this to an hotkey and try it in Sanctuary Dungeon before anything else If needed: remove the # from the last line and add your own script to auto-start

Explosion Potion Helper throw explopot safely.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a9fecfe5-ba73-4b8e-a9f0-6cd4a305eb98 for latest2# Automation by Jaseowns3## Script: Explosion Potion Helper (throw explopot safely)4## Created by: doubleduke#05#############################################6 7# INFO8# Set this to an hotkey and try it in Sanctuary Dungeon before anything else9# If needed: remove the # from the last line and add your own script to auto-start10 11# TO DO12# - Various improvements13# - Set a cooldown timer14 15# SETTINGS16 17# Select your target (0) or target nearest grey mob (1)18@setvar! useTargetSystem 019 20# Information System is helpful for debug or trace what went wrong on target21@setvar! useInformationSystem 022 23# COOLDOWN TIMER 24# some options on the work25 26# ACTUAL SCRIPT27 28if skill "Alchemy" >= 8029    if findtype 3853 self >= 130 31        # Clear target queue (why?: prevent throwing explopot to yourself or friendly)32        hotkey 'Clear Target Queue'33        wait 15034 35        # Throwing and targeting system36 37        if useTargetSystem = 038            overhead "Select your ExploPot Target" 6639            hotkey "Set Last Target"40            wait 20041            while targetexists 42                // wait before throwing43                wait 5044            endwhile45            hotkey 'Drink Explosion'46            wft47            hotkey 'Last Target'48            if useInformationSystem = 149                getlabel lasttarget descTarget50                @setvar! lastTargetSeriel lasttarget51                sysmsg "Last Target: {{descTarget}} {{lastTargetSeriel}}" 8852            elseif useInformationSystem = 053                // do nothing54            endif55        elseif useTargetSystem = 156            hotkey "Target Closest Grey Monster"57        if insysmsg "No one matching that was found on your screen"58                // do nothing59            overhead "No Target Found, get closer to a mob" 5560            else61                overhead "Throwing ExploPot" 6662                hotkey 'Drink Explosion'63                wft64                hotkey 'Last Target'65                if useInformationSystem = 166                    getlabel lasttarget descTarget67                    @setvar! lastTargetSeriel lasttarget68                    sysmsg "Last Target: {{descTarget}} {{lastTargetSeriel}}" 8869                elseif useInformationSystem = 070                    // do nothing71                endif72            endif73        endif74    else 75        overhead "No ExploPot: restock!" 5576    endif77else 78    overhead "Alchemy is below 80, explopot does not stick to mobs." 5579endif80 81# THE SCRIPT TO AUTO-START82# for example auto-heal-bandage script83# script "BandageSelfCombat"