Back to "general" tags

Check Buffs by anakin0351

Related: Snippet general

1#script by Anakin#0351
2#Check buffs & etc#
3#
4clearall 
5overhead 'Checking Buffs & Items' 53
6//-------------------------------------------------------------
7if not hidden
8//-------------------------------------------------------------
9//WARDING
10@setvar 'isWarding' 0
11//-------------------------------------------------------------
12//FOOD BUFF CHECK
13    if not findbuff 'food satisfaction'
14        if findtype tray backpack
15            dclicktype tray backpack
16            wait 200
17        else 
18            overhead 'Out of Food!' 945
19        endif
20    endif
21//-------------------------------------------------------------
22//BANDAGES CHECK
23    if skill 'Healing' >= 40
24        if count 'bandages' <= 20 backpack
25        overhead 'Low on Bandages !' 945
26        wait 200
27        endif    
28    endif
29//-------------------------------------------------------------
30//BARD CHECK
31    if skill 'Discordance' >= 100
32        if not findtype '3763' backpack
33            overhead 'Need Instrument !' 945
34            wait 200
35            endif  
36        if not timerexists 'Discord Timer'
37            overhead 'Timer Setted!'
38            createtimer 'Discord Timer'
39            wait 200
40            settimer 'Discord Timer' 10500
41        endif  
42    endif
43//-------------------------------------------------------------
44//ARCHER EQ CHECK
45    if skill 'Archery' >= 80
46        if count 'Arrows' <= 50 backpack
47        overhead 'Low on Arrows !' 945
48        wait 500
49        endif   
50        if count 'Bolts' <= 50 backpack
51        overhead 'Low on Bolts !' 945
52        wait 500
53        endif 
54    endif
55//-------------------------------------------------------------
56//CROOK CHECK
57    if skill 'Herding' >= 80
58        dclicktype '3713' backpack
59        if not findtype '3713' backpack
60        overhead 'No CROOK !' 945
61        wait 500
62        endif   
63    endif
64//-------------------------------------------------------------
65//INSTRUMENT CHECK
66    if skill 'Music' >= 80
67        if not findtype '3762|3740 |3763|10245|3742' backpack
68        overhead 'No INSTRUMENT !' 30
69        wait 500
70        endif   
71    endif
72//-------------------------------------------------------------
73// FOLLOWERS & MUSHROOM CHECK
74    if skill 'Spirit Speak' >= 80
75        if followers < 4 and followers >= 2
76           overhead '[ - Summon Dead - ]' 945
77        endif
78        if followers < 1
79           overhead '[ - No Summon - ]' 945
80        endif
81        if not findtype '29012' backpack
82            overhead '[ - Need Mushrooms ! -]' 945
83        endif
84        if count 'mushroom' <= 5 and count 'mushroom' >= 1
85            overhead '[ - Low on Mushrooms ! -]' 945
86        endif
87    endif
88//-------------------------------------------------------------
89// CURE POT CHECK 1
90    if findtype '3847' backpack < 6 and findtype '3847' backpack >= 1
91        overhead 'Low on Cure Pots!' 945
92    endif
93//-------------------------------------------------------------
94// CURE POT CHECK 2
95    if not findtype '3847' backpack
96        overhead 'Out of Cure Pots!' 945
97    endif
98//-------------------------------------------------------------
99// HEAL POT CHECK 1
100   if findtype '3852' backpack < 5 and findtype '3852' backpack >= 1
101        overhead 'Low on Heal Pots!' 945
102    endif     
103//-------------------------------------------------------------
104// HEAL POT CHECK 2
105   if not findtype '3852' backpack
106        overhead 'Out of Heal Pots!' 945
107    endif     
108//-------------------------------------------------------------
109//STR POT CHECK 1
110    if findtype '3849' backpack < 3 and findtype '3849' backpack >= 1
111        overhead 'Low on Strength Pots !' 945
112    endif
113//-------------------------------------------------------------
114//STR POT CHECK 2
115    if not findtype '3849' backpack
116        overhead 'Out of Strength Pots !' 945
117    endif
118//-------------------------------------------------------------
119//RESIST POT CHECK 1
120    if not findtype '3846' backpack
121        overhead 'Out of Resist Pots !' 945
122    endif
123//-------------------------------------------------------------
124//RESIST POT CHECK 2
125    if findtype '3846' backpack < 3 and findtype '3846' backpack >= 1
126        overhead 'Low on Resist Pots !' 945
127    endif
128//-------------------------------------------------------------
129//AGILITY POT CHECK 1
130//        if not findtype '3848' backpack
131//            overhead 'Out of Agility Pots !' 945
132//        endif
133//-------------------------------------------------------------
134//AGILITY POT CHECK 2
135//    if findtype '3848' backpack < 2 and findtype '3848' backpack >= 1
136//        overhead 'Low on Agility Pots !' 945
137//    endif
138//-------------------------------------------------------------
139//TRACKING CHECK
140    if skill 'tracking' >= 80
141        hotkey 'Tracking'
142        wait 500
143    endif
144//-------------------------------------------------------------
145//-------------------------------------------------------------
146// REGS CHECK
147    if skill 'Magery' >= 50
148        //MANDRAKE---------------------------------------------
149    if counttype 3974 < 20 backpack
150            overhead 'Low on MR !' 945
151            wait 200
152        endif  
153        //BLACK PEARL------------------------------------------
154        if counttype 3962 < 20 backpack
155            overhead 'Low on BP !' 945
156            wait 200
157        endif 
158        //BLOOD MOSS--------------------------------------------
159        if counttype 3963 < 20 backpack
160            overhead 'Low on BM !' 945
161            wait 200
162        endif 
163        //SULFUR ASH-------------------------------------------
164        if counttype 3980 < 20 backpack
165            overhead 'Low on SA!' 945
166            wait 200
167        endif 
168        //SPIDER SILK------------------------------------------
169        if counttype 3981 < 20 backpack
170            overhead 'Low on SS !' 945
171            wait 200
172        endif 
173        //NIGHTSHADE-1------------------------------------------
174        if skill 'poisoning' >= 80 and counttype 3976 <= 200 backpack
175            overhead 'Low on NS!' 945
176            wait 200
177        endif 
178        //NIGHTSHADE-2------------------------------------------
179        if skill 'poisoning' <= 80 and counttype 3976 <= 20 backpack
180            overhead 'Low on NS!' 945
181            wait 200
182        endif
183        //GARLIC-----------------------------------------------
184        if counttype 3972 < 20 backpack
185            overhead 'Low on GR !' 945
186            wait 200
187        endif 
188        //GINGENG---------------------------------------------
189        if counttype 3973 < 20 backpack
190            overhead 'Low on GS !' 945
191            wait 200
192        endif     
193    endif
194//-------------------------------------------------------------
195//-------------------------------------------------------------
196// FILL SATCHEL
197if findtype "reagent satchel" self as satchel
198if findtype 3963|3980|3974|3973|3981|3962|3976|3972 backpack
199    menu satchel 0
200endif
201endif
202//-------------------------------------------------------------
203endif
204//-------------------------------------------------------------
205########################
206#feedback to Anakin#0351