Auto Potion Buff and Heal by vect314
Related: Alchemy
Description from the author:
# ####################################
# Greater Potion Script - Multi-Pouch Scan
# Optimized for UO Outlands
# ####################################
# --- CONFIGURATION ---
if not listexists 'potion_setup'
createlist 'potion_setup'
@setvar! 'min_hp_percent' 65
endif
# --- EMERGENCY GREATER HEAL CHECK ---
if hp < 'min_hp_percent'
if not findbuff 'Heal Potion'
if targetexists 'harmful' or targetexists 'beneficial'
sysmsg 'Cannot drink potion: Target cursor is active!' 34
else
if findtype 3852
sysmsg 'HP CRITICAL: Using Greater Heal Potion!' 88
dclicktype 3852
wait 400
else
sysmsg 'WARNING: No Greater Heal Potions Found in Pouches!' 34
endif
endif
endif
endif
# --- GREATER AGILITY CHECK ---
if not findbuff 'Agility'
if findtype 3848
sysmsg 'Buffing: Greater Agility Potion' 73
dclicktype 3848
wait 400
endif
endif
# --- GREATER STRENGTH CHECK ---
if not findbuff 'Strength'
if findtype 3849
sysmsg 'Buffing: Greater Strength Potion' 73
dclicktype 3849
wait 400
endif
endif
# --- GREATER MAGIC RESIST CHECK ---
if not findbuff 'Magic Resist Potion'
if findtype 3846
sysmsg 'Buffing: Greater Magic Resist Potion' 73
dclicktype 3846
wait 400
endif
endif
loopThis script will check for potion buffs and auto drink potions as needed. Will also drink G Heal based on health threshold you set.








