Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
by Jaseowns UO Outlands https://youtube.com/jaseowns/live This handles: Alchemy, all two handed, one handed and shield builds This drinks all potions UPDATED 5/22/2024 to handle not needing free…
CraftingCombatAlchemy
All Potions that handles all weapon types.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/9164c069-b7b7-4893-95c1-0a389be3d193 for latest2# Automation by Jaseowns3## Script: All Potions that handles all weapon types4## Created by: Jaseowns#66945#############################################6 7# All Potions that handles all weapon types by Jaseowns8# UO Outlands9# https://youtube.com/jaseowns/live10# This handles: Alchemy, all two handed, one handed and shield builds11# This drinks all potions12####13# UPDATED 5/22/2024 to handle not needing free hand14###15 16// Check buff controllers17@setvar! checkStr 018@setvar! checkDex 019@setvar! checkMagic 020@setvar! checkHealPot 121@setvar! checkCurePot 122@setvar! checkRefreshPot 123 24// These control when the potion will be drank25// Edit to your liking26@setvar! hpCheckToTriggerHealPotion 10027@setvar! hpCheckToTriggerCurePotion 4028@setvar! stamCheckToTriggerRedPotion 2029 30@setvar! needStrBuff 031@setvar! needDexBuff 032@setvar! needMagicBuff 033@setvar! needHealPot 034@setvar! needCurePot 035@setvar! needRefreshPot 036 37@setvar! minimumWaitForPing 20038 39 40if checkStr = 1 and not findbuff "Strength"41 @setvar! needStrBuff 142endif43 44if checkDex = 1 and not findbuff "Agility"45 @setvar! needDexBuff 1 46endif47 48if checkMagic = 1 and not findbuff "Magic Resist Potion"49 @setvar! needMagicBuff 1 50endif51 52if checkHealPot = 1 and hp <= hpCheckToTriggerHealPotion53 @setvar! needHealPot 1 54endif55 56if checkCurePot = 1 and poisoned and hp <= hpCheckToTriggerCurePotion57 @setvar! needCurePot 1 58endif59 60if checkRefreshPot = 1 and stam <= stamCheckToTriggerRedPotion61 @setvar! needRefreshPot 1 62endif63 64if needStrBuff = 1 and not findtype "White Potion" backpack65 overhead "No white potions!" 3466 @setvar! needStrBuff 067endif68 69if needDexBuff = 1 and not findtype "Blue Potion" backpack70 overhead "No blue agi potions!" 3471 @setvar! needDexBuff 072endif73 74if needMagicBuff = 1 and not findtype "Black Potion" backpack75 @setvar! needMagicBuff 076endif77 78if needHealPot = 1 and not findtype "Yellow Potion" backpack79 @setvar! needHealPot 080elseif needHealPot = 1 and findtype "Yellow Potion" backpack as item81 getlabel item healPotDesc82 if "next usable" in healPotDesc83 @setvar! needHealPot 084 else85 @setvar! needHealPot 186 endif87endif88 89if needCurePot = 1 and not findtype "Orange Potion" backpack90 @setvar! needCurePot 091endif92 93if needRefreshPot = 1 and not findtype "Red Potion" backpack94 @setvar! needRefreshPot 095endif96 97 98if needHealPot = 199 if findtype "Yellow Potion" backpack as jotion100 overhead "chug heal"101 dclick jotion102 wait minimumWaitForPing103 cooldown "Yellow Potion" 10000104 else105 overhead "No Heal potion found!" 34106 endif107endif108 109if needStrBuff = 1110 if findtype "White Potion" backpack as jotion111 overhead "chug str"112 dclick jotion113 wait minimumWaitForPing114 else115 overhead "No STR potion found!" 34116 endif117endif118 119if needDexBuff = 1120 if findtype "Blue Potion" backpack as jotion121 overhead "chug agi"122 dclick jotion123 wait minimumWaitForPing124 else125 overhead "No AGI potion found!" 34126 endif127endif128 129if needMagicBuff = 1130 if findtype "Black Potion" backpack as jotion131 overhead "chug resist"132 dclick jotion133 wait minimumWaitForPing134 else135 overhead "No MR potion found!" 34136 endif137endif138 139if needCurePot = 1140 if findtype "Orange Potion" backpack as jotion141 overhead "chug cure"142 dclick jotion143 wait minimumWaitForPing144 else145 overhead "No Cure potion found!" 34146 endif147endif148 149if needRefreshPot = 1150 if findtype "Red Potion" backpack as jotion151 overhead "chug refresh"152 dclick jotion153 wait minimumWaitForPing154 else155 overhead "No Refresh potion found!" 34156 endif157endif158 159 160 161 162 163 164 165 