Back to "pouches" tags

Trap empty pouches by Jaseowns

1# Trap empty pouches by Jaseowns
2# UO Outlands
3# Requirements:
4#   Have regs and magery to trap empty pouches
5if counttype "pouch" backpack 0 as pouches_to_trap
6    overhead "To trap: {{pouches_to_trap}}" 88
7
8    if counttype "Garlic" backpack < pouches_to_trap
9        overhead "Need garlic!" 34
10        stop
11    endif
12    
13    if counttype "Spider's Silk" backpack < pouches_to_trap
14        overhead "Need Spider's Silk!" 34
15        stop
16    endif
17    
18    if counttype "Sulfurous Ash" backpack < pouches_to_trap
19        overhead "Need Sulfurous Ash!" 34
20        stop
21    endif
22else
23    overhead "No empty pouches found" 34
24    stop
25endif
26
27while findtype "pouch" backpack 0 as trapme
28    if mana >= 6
29        cast 'Magic Trap'
30        wft 3500
31        target trapme
32        wait 1000
33    else
34        while mana <= 25
35            wait 100
36            if not findbuff "med"
37                useskill 'Meditation'
38            endif
39        endwhile
40    endif
41endwhile
42
43overhead "All done!" 88
44