Ultimate Explosion Potion (B) by Jaseowns
# Ultimate Explosion Potion by Jaseowns
# UO Outlands
# Requirements:
# Make the following cooldowns:
# Telekinesis
# Purple Potion
#
# It should make sure we do not blow ourselves up
if not cooldown "Purple Potion"
@setvar! checkLastTarget lasttarget
@setvar! checkSelf self
if checkLastTarget = checkSelf
overhead "Not gonna blow yourself up" 34
stop
endif
overhead "\/\/\ HERE /\/\/" 88 lasttarget
if findtype "Purple Potion" backpack as pot
if not cooldown Telekinesis and skill "Alchemy" < 80 and skill "Magery" >= 50
while not targetexists
cast 'Telekinesis'
endwhile
target lasttarget
cooldown Telekinesis 30000
wait 200
endif
getlabel pot desc
if "next usable in 15" in desc
@setvar! purplePotionCD 15000
overhead "On cooldown 15" 42
elseif "next usable in 14" in desc
@setvar! purplePotionCD 14000
overhead "On cooldown 14" 41
elseif "next usable in 13" in desc
@setvar! purplePotionCD 13000
overhead "On cooldown 13" 40
elseif "next usable in 12" in desc
@setvar! purplePotionCD 12000
overhead "On cooldown 12" 39
elseif "next usable in 11" in desc
@setvar! purplePotionCD 11000
overhead "On cooldown 11" 38
elseif "next usable in 10" in desc
@setvar! purplePotionCD 10000
overhead "On cooldown 10" 37
elseif "next usable in 9" in desc
@setvar! purplePotionCD 9000
overhead "On cooldown 9" 36
elseif "next usable in 8" in desc
@setvar! purplePotionCD 8000
overhead "On cooldown 8" 35
elseif "next usable in 7" in desc
@setvar! purplePotionCD 7000
overhead "On cooldown 7" 34
elseif "next usable in 6" in desc
@setvar! purplePotionCD 6000
overhead "On cooldown 6" 33
elseif "next usable in 5" in desc
@setvar! purplePotionCD 5000
overhead "On cooldown 5" 32
elseif "next usable in 4" in desc
@setvar! purplePotionCD 4000
overhead "On cooldown 4" 31
elseif "next usable in 3" in desc
@setvar! purplePotionCD 3000
overhead "On cooldown 3" 30
elseif "next usable in 2" in desc
@setvar! purplePotionCD 2000
overhead "On cooldown 2" 29
elseif "next usable in 1" in desc
@setvar! purplePotionCD 1000
overhead "On cooldown 1" 28
elseif "next usable in" in desc
// do nothing
overhead "On cooldown" 3
else
@setvar! myOriginalPotCount 0
if counttype "Purple Potion" self as potCount
@setvar! myOriginalPotCount potCount
endif
while not targetexists
dclick pot
endwhile
target lasttarget
wait 200
# if counttype "Purple Potion" self as potCount
# if potCount = myOriginalPotCount
# @setvar! tempLastTarget lasttarget
# overhead "Kobe not successful!" 34
# while not targetexists
# dclick pot
# endwhile
# while targetexists
# target self
# endwhile
# hotkey 'Set Last Target'
# target tempLastTarget
# else
# yell "KOBE"
# say "[Yell"
# endif
# endif
cooldown "Purple Potion" purplePotionCD
endif
overhead "MY TARGET IS HERE" 34 lasttarget
endif
else
overhead "Purple pot on cooldown" 34
endif