Yogurt's auto heal by _yogurt
Description: This script helps you maintain your health efficiently. Here's what it does:
- Immediately applies a bandage when needed.
- Drinks a health potion when your health is low.
- Drinks a cure potion when you are poisoned.
- Triggers a trapped pouch when you are paralyzed by PKs.
The script responds quickly and keeps you stay in top condition.
1// Rapid bandaging loop script
2// created by: Yogurt
3// updated: 16 December 2024
4
5@setvar! globalTimeout 650
6if not dead
7 if findtype "clean bandage%s%" backpack
8 if bandaging = 0
9 if hp != maxhp
10 hotkey 'Bandage self'
11 wait globalTimeout
12 endif
13 endif
14 endif
15
16 if paralyzed
17 overhead 'Paralyzed!' 38
18 if findtype "pouch" backpack 38 any any
19 say '[pouch'
20 wait globalTimeout
21 endif
22 endif
23
24 if poisoned
25 if findtype "Orange Potion" self
26 wait globalTimeout
27 overhead 'Drinking cure!' 48
28 potion "cure"
29 wait globalTimeout
30 endif
31 endif
32
33 if hp < 25
34 if findtype 3852 self as PotsHeal
35 getlabel PotsHeal LabelPotsHeal
36 if 'next usable' in LabelPotsHeal
37 sysmsg 'Unable to use Heal Potion Yet!' 33
38 else
39 overhead 'Drinking heal!' 68
40 dclick PotsHeal
41 wait globalTimeout
42 endif
43 endif
44 endif
45
46else
47 pause 1000
48endif
49loop