-
Notifications
You must be signed in to change notification settings - Fork 0
/
rmrecall.uos
69 lines (68 loc) · 1.52 KB
/
rmrecall.uos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//RecallMiner-Recall
//Author: Fleekix
//Title: FleekixRecallMiner
//For use with fire beetle
//re-write of autorecallminer by experience
//*****************************************************************************
//Recall
//*****************************************************************************
//Check flags for 'danger', 'full', or 'supply' and recall home if so
if @inlist 'controlz' 'danger'
@poplist 'runez' 'front'
if mana > '12'
autotargetobject 'homebook'
cast 'recall'
else
useskill 'meditation'
while mana < '12'
endwhile
replay
endif
elseif @inlist 'controlz' 'full'
if mana > '12'
autotargetobject 'homebook'
cast 'recall'
else
useskill 'meditation'
while mana < '12'
endwhile
replay
endif
elseif @inlist 'controlz' 'supply'
if mana > '12'
autotargetobject 'homebook'
cast 'recall'
else
useskill 'meditation'
while mana < '12'
endwhile
replay
endif
else
//otherwise recall the next spot in the rune list
if mana > '12'
if @inlist 'controlz' 'next'
@poplist 'runez' 'front'
@poplist! 'controlz' 'next'
@clearlist 'ecountz'
endif
useobject bookz[0]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 runez[0]
if list 'runez' == 0
@poplist 'bookz' 'front'
endif
else
useskill 'meditation'
if not @inlist 'controlz' 'home'
while mana < 12
endwhile
replay
else
while mana < maxmana
endwhile
replay
endif
endif
endif
playmacro 'rmmain'