Back to "b" tags

Dexxer Script with heal checks by Jaseowns

1# Dexxer Script by Jaseowns
2# UO Outlands - https://youtu.be/33QpamFkJ1g
3sysmsg 'Dexxer Engaged'
4@setvar! healTimerCheck 15000
5while not dead or hidden
6    
7    if dex >= 100
8        @setvar! healTimerCheck 10000        
9    endif
10
11    if paralyzed 
12        dclicktype 3705 backpack 38
13        wait 200
14    endif
15    if poisoned
16        if findtype 3847 backpack
17            overhead '[Cure Potion]' 0
18            dclicktype 3847 backpack
19            wait 200
20        endif
21    endif
22    if not timerexists 'healpot'
23        createtimer 'healpot'
24        settimer 'healpot' 10000
25    endif
26    if not timerexists 'heal'
27        createtimer 'heal'
28        settimer 'heal' healTimerCheck
29    endif
30    if hits < maxhits or poisoned or findbuff "bleed" or findbuff "disease"
31        if timer 'heal' > healTimerCheck
32            overhead '[Bandage]' 88
33            hotkey 'bandage self'
34            wait 200
35            if insysmsg "begin applying"
36                settimer 'heal' 0
37            endif
38        endif
39    endif
40    if hits < 80
41        if timer 'healpot' > 5500
42            dclicktype 3852 backpack
43            overhead '[Heal Potion]' 0
44            wait 200
45            settimer 'healpot' 0
46        endif
47    endif
48    wait 100
49endwhile