Back to "pot" tags

Explosion Potion Helper (throw explopot safely) by doubleduke

Description: Too many times, especially in the most populated dungeons or using scripts to manage healing, I end up becoming gray or worse, a murderer. With a whole series of unpleasant consequences.

So I decided to work on a script that can help manage the throwing of explosive potions.

As a dexxer I prefer to use few and simple scripts, rather than the more famous AutoDexxer.

Try it and let me have some feedback (message DoubleDuke on discord).

I recommend first of all in a sanctuary dungeon to avoid embarrassing situations.

# INFO # Set this to an hotkey and try it in Sanctuary Dungeon before anything else # If needed: remove the # from the last line and add your own script to auto-start # TO DO # - Various improvements # - Set a cooldown timer # SETTINGS # Select your target (0) or target nearest grey mob (1) @setvar! useTargetSystem 0 # Information System is helpful for debug or trace what went wrong on target @setvar! useInformationSystem 0 # COOLDOWN TIMER # some options on the work # ACTUAL SCRIPT if skill "Alchemy" >= 80 if findtype 3853 self >= 1 # Clear target queue (why?: prevent throwing explopot to yourself or friendly) hotkey 'Clear Target Queue' wait 150 # Throwing and targeting system if useTargetSystem = 0 overhead "Select your ExploPot Target" 66 hotkey "Set Last Target" wait 200 while targetexists // wait before throwing wait 50 endwhile hotkey 'Drink Explosion' wft hotkey 'Last Target' if useInformationSystem = 1 getlabel lasttarget descTarget @setvar! lastTargetSeriel lasttarget sysmsg "Last Target: {{descTarget}} {{lastTargetSeriel}}" 88 elseif useInformationSystem = 0 // do nothing endif elseif useTargetSystem = 1 hotkey "Target Closest Grey Monster" if insysmsg "No one matching that was found on your screen" // do nothing overhead "No Target Found, get closer to a mob" 55 else overhead "Throwing ExploPot" 66 hotkey 'Drink Explosion' wft hotkey 'Last Target' if useInformationSystem = 1 getlabel lasttarget descTarget @setvar! lastTargetSeriel lasttarget sysmsg "Last Target: {{descTarget}} {{lastTargetSeriel}}" 88 elseif useInformationSystem = 0 // do nothing endif endif endif else overhead "No ExploPot: restock!" 55 endif else overhead "Alchemy is below 80, explopot does not stick to mobs." 55 endif # THE SCRIPT TO AUTO-START # for example auto-heal-bandage script # script "BandageSelfCombat"