Skip to content
Outlands Hub

Razor script

Auto Potion Buff and Heal

by vect314 · 61 lines
Download

Greater Potion Script - Multi-Pouch Scan Optimized for UO Outlands

Healing
Auto Potion Buff and Heal.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c5a912d2-6641-4a95-9894-8d3ffee4518f for latest2# Automation by Jaseowns3## Script: Auto Potion Buff and Heal4## Created by: vect314#05#############################################6 7# ####################################8# Greater Potion Script - Multi-Pouch Scan9# Optimized for UO Outlands10# ####################################11 12# --- CONFIGURATION ---13if not listexists 'potion_setup'14    createlist 'potion_setup'15    @setvar! 'min_hp_percent' 6516endif17 18# --- EMERGENCY GREATER HEAL CHECK ---19if hp < 'min_hp_percent'20    if not findbuff 'Heal Potion'21        if targetexists 'harmful' or targetexists 'beneficial'22            sysmsg 'Cannot drink potion: Target cursor is active!' 3423        else24            if findtype 385225                sysmsg 'HP CRITICAL: Using Greater Heal Potion!' 8826                dclicktype 385227                wait 40028            else29                sysmsg 'WARNING: No Greater Heal Potions Found in Pouches!' 3430            endif31        endif32    endif33endif34 35# --- GREATER AGILITY CHECK ---36if not findbuff 'Agility'37    if findtype 384838        sysmsg 'Buffing: Greater Agility Potion' 7339        dclicktype 384840        wait 40041    endif42endif43 44# --- GREATER STRENGTH CHECK ---45if not findbuff 'Strength'46    if findtype 384947        sysmsg 'Buffing: Greater Strength Potion' 7348        dclicktype 384949        wait 40050    endif51endif52 53# --- GREATER MAGIC RESIST CHECK ---54if not findbuff 'Magic Resist Potion'55    if findtype 384656        sysmsg 'Buffing: Greater Magic Resist Potion' 7357        dclicktype 384658        wait 40059    endif60endif61loop