Back to "ali" tags

All Potions that handles all weapon types by Jaseowns

# All Potions that handles all weapon types 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 hand ### // Check buff controllers @setvar! checkStr 0 @setvar! checkDex 0 @setvar! checkMagic 0 @setvar! checkHealPot 1 @setvar! checkCurePot 1 @setvar! checkRefreshPot 1 // These control when the potion will be drank // Edit to your liking @setvar! hpCheckToTriggerHealPotion 100 @setvar! hpCheckToTriggerCurePotion 40 @setvar! stamCheckToTriggerRedPotion 20 @setvar! needStrBuff 0 @setvar! needDexBuff 0 @setvar! needMagicBuff 0 @setvar! needHealPot 0 @setvar! needCurePot 0 @setvar! needRefreshPot 0 @setvar! minimumWaitForPing 200 if checkStr = 1 and not findbuff "Strength" @setvar! needStrBuff 1 endif if checkDex = 1 and not findbuff "Agility" @setvar! needDexBuff 1 endif if checkMagic = 1 and not findbuff "Magic Resist Potion" @setvar! needMagicBuff 1 endif if checkHealPot = 1 and hp <= hpCheckToTriggerHealPotion @setvar! needHealPot 1 endif if checkCurePot = 1 and poisoned and hp <= hpCheckToTriggerCurePotion @setvar! needCurePot 1 endif if checkRefreshPot = 1 and stam <= stamCheckToTriggerRedPotion @setvar! needRefreshPot 1 endif if needStrBuff = 1 and not findtype "White Potion" backpack overhead "No white potions!" 34 @setvar! needStrBuff 0 endif if needDexBuff = 1 and not findtype "Blue Potion" backpack overhead "No blue agi potions!" 34 @setvar! needDexBuff 0 endif if needMagicBuff = 1 and not findtype "Black Potion" backpack @setvar! needMagicBuff 0 endif if needHealPot = 1 and not findtype "Yellow Potion" backpack @setvar! needHealPot 0 elseif needHealPot = 1 and findtype "Yellow Potion" backpack as item getlabel item healPotDesc if "next usable" in healPotDesc @setvar! needHealPot 0 else @setvar! needHealPot 1 endif endif if needCurePot = 1 and not findtype "Orange Potion" backpack @setvar! needCurePot 0 endif if needRefreshPot = 1 and not findtype "Red Potion" backpack @setvar! needRefreshPot 0 endif if needHealPot = 1 if findtype "Yellow Potion" backpack as jotion overhead "chug heal" dclick jotion wait minimumWaitForPing cooldown "Yellow Potion" 10000 else overhead "No Heal potion found!" 34 endif endif if needStrBuff = 1 if findtype "White Potion" backpack as jotion overhead "chug str" dclick jotion wait minimumWaitForPing else overhead "No STR potion found!" 34 endif endif if needDexBuff = 1 if findtype "Blue Potion" backpack as jotion overhead "chug agi" dclick jotion wait minimumWaitForPing else overhead "No AGI potion found!" 34 endif endif if needMagicBuff = 1 if findtype "Black Potion" backpack as jotion overhead "chug resist" dclick jotion wait minimumWaitForPing else overhead "No MR potion found!" 34 endif endif if needCurePot = 1 if findtype "Orange Potion" backpack as jotion overhead "chug cure" dclick jotion wait minimumWaitForPing else overhead "No Cure potion found!" 34 endif endif if needRefreshPot = 1 if findtype "Red Potion" backpack as jotion overhead "chug refresh" dclick jotion wait minimumWaitForPing else overhead "No Refresh potion found!" 34 endif endif