Created: 06/18/2022, 10:40:47 PM Updated: 06/18/2022, 10:40:47 PM View Change History
1
2
3
4
5
6
7
8@setvar! drink_red 1
9@setvar! drink_white 1
10@setvar! drink_blue 1
11@setvar! drink_black 1
12@setvar! drink_orange 1
13@setvar! drink_yellow 1
14
15
16if drink_red = 1 and stam < maxstam
17 if findtype "Red Potion" backpack as pot
18 dclick pot
19 wait 200
20 endif
21endif
22
23if drink_white = 1 and str <= 100
24 if findtype "White Potion" backpack as pot
25 dclick pot
26 wait 200
27 endif
28endif
29
30if drink_blue = 1 and dex <= 100
31 if findtype "Blue Potion" backpack as pot
32 dclick pot
33 wait 200
34 endif
35endif
36
37if drink_black = 1 and not findbuff "magic resist"
38 if findtype "Black Potion" backpack as pot
39 dclick pot
40 wait 200
41 else
42 overhead "Out of Magic Resist" 34
43 endif
44endif
45
46if drink_orange = 1 and poisoned
47 if findtype "Orange Potion" backpack as pot
48 dclick pot
49 wait 200
50 else
51 overhead "Out of cures" 34
52 endif
53endif
54
55if drink_yellow = 1 and diffhits > 30
56 if findtype "Yellow Potion" backpack as pot
57 dclick pot
58 wait 200
59 else
60 overhead 'Out of heals!' 34
61 endif
62endif