Semi-auto Poison Necro Summoner Script - Boss Ready by Burger Beagle
Description: This is a modified version of Jase's Auto Mage script. It has a lot of stuff removed, but it is designed for poison summoners only. It will reapply the poison to a boss or target, and can re-summon your pets.
1if targetexists
2 clearall
3endif
4
5# If you want to recast your pets after they die, set this to 1
6@setvar! bossMode 0
7
8###############
9### Edit these cooldowns to match your wizard grimoire
10######
11@setvar! canYouMakeAMushroom 1
12@setvar! cdLightning 60000
13@setvar! cdMagicArrow 20000
14@setvar! cdHarm 20000
15@setvar! cdFireball 60000
16
17###############
18### Necro Cooldowns
19######
20@setvar! cdEvilOmen 30500
21@setvar! cdVampiricEmbrace 30500
22@setvar! cdCorpseSkin 30500
23@setvar! cdMindRot 30500
24@setvar! cdPoisonStrike 30500
25@setvar! cdWither 30500
26@setvar! cdVengefulSpirit 30500
27
28#### Buff Cooldowns
29@setvar! cdMushroom 60000
30@setvar! cdMagicShield 60000
31@setvar! cdReactiveArmor 60000
32
33#### General Spell Cooldowns (wait to cast again)
34@setvar! cdCurse 60000
35@setvar! cdManaDrain 60000
36
37##################################################################
38#
39# Hopefully you do not have to edit after this :)
40#
41##################################################################
42clearsysmsg
43
44// Clear certain cooldowns that don't have timers
45cooldown 'Curse' 0
46cooldown 'Mana Drain' 0
47
48// Make sure we have a spell book attached
49if findlayer self righthand as item
50 // do nothing
51elseif findtype "3834" backpack as item
52 dclick item
53else
54 overhead ">>>>> NO SPELLBOOK FOUND <<<<<" 34
55endif
56
57# Eat food if we got it
58if not findbuff "food" and findtype "tray" backpack as jood
59 dclick jood
60 wait 200
61endif
62
63# Use Taste ID if possible
64if skill "Taste Identification" >= 50 and not findbuff "herb"
65 useskill 'tasteidentification'
66 wft 500
67 target backpack
68endif
69
70if targetexists
71 clearall
72endif
73
74// Initiate Kill!
75hotkey 'all kill'
76wait 200
77while targetexists
78 // wait
79 wait 50
80endwhile
81
82@setvar myKillTarget lasttarget
83
84@setvar! isLethalPoison 0
85
86@setvar! strikeTime 0
87
88while not dead myKillTarget and find myKillTarget -1 -1 12 as killy
89
90 // Healing Check
91 while poisoned
92 if findtype "Orange Potion" backpack as pot
93 dclick pot
94 wait 200
95 else
96 while not targetexists
97 if not poisoned
98 hotkey '> Interrupt'
99 break
100 else
101 cast 'Cure'
102 wait 50
103 endif
104 endwhile
105 if targetexists
106 target self
107 wait 500
108 endif
109 endif
110 endwhile
111
112 if not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy and mana < 30
113 overhead "Eating shrooms" 66
114 dclick mushy
115 cooldown 'Mushroom' cdMushroom
116 endif
117
118 while diffhits >= 30
119 if findtype "Yellow Potion" backpack as pot
120 getlabel pot potcheck
121 if "next usable" in potcheck
122 // do nothing
123 else
124 dclick pot
125 wait 200
126 endif
127 endif
128
129 if diffhits >= 30 and mana >= 12
130 while not targetexists
131 if diffhits >= 60
132 cast 'Heal'
133 else
134 cast 'Greater Heal'
135 endif
136 wait 50
137 if hp = maxhp
138 hotkey '> Interrupt'
139 break
140 endif
141 endwhile
142 if targetexists
143 target self
144 wait 50
145 endif
146 endif
147
148 if not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy and mana < 30
149 overhead "Eating shrooms" 66
150 dclick mushy
151 cooldown 'Mushroom' cdMushroom
152 endif
153 endwhile
154
155 if not cooldown 'Magic Reflection' and not findbuff "Magic Reflection"
156 cast "Magic Reflection"
157 cooldown 'Magic Reflection' cdMagicShield
158 wait 1000
159 elseif not findbuff "Magic Reflection" and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as pot
160 dclick pot
161 wait 200
162 endif
163
164 if not cooldown 'Reactive Armor' and not findbuff "Reactive Armor"
165 cast "Reactive Armor"
166 cooldown 'Reactive Armor' cdReactiveArmor
167 wait 200
168 endif
169
170 if str <= 100
171 while not targetexists
172 cast 'Bless'
173 wait 50
174 if diffhits >= 30
175 hotkey '> Interrupt'
176 break
177 endif
178 endwhile
179 if targetexists
180 target self
181 endif
182 endif
183
184 getlabel myKillTarget desc
185 overhead desc 66
186
187 // Reset Poison Check
188 if "-" in desc
189 //Ignore
190 elseif "Ticks" in desc
191 //Ignore
192 elseif isLethalPoison = 1
193 @setvar! isLethalPoison 0
194 endif
195
196 if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc
197 @setvar! strikeTime 1
198 endif
199
200 if strikeTime = 1 and not cooldown 'Poison Strike'
201 clearsysmsg
202 overhead ">>> POISON STRIKE <<<" 34
203 yell [poisonstrike
204 wft 200
205 target myKillTarget
206 wait 100
207 if insysmsg 'Unholy symbols remaining'
208 cooldown 'Poison Strike' cdPoisonStrike
209 endif
210 wait 100
211 @setvar! strikeTime 0
212 wait 300
213 endif
214 if dead myKillTarget
215 hotkey '> Interrupt'
216 endif
217
218 // Spam poison until lethal
219 while isLethalPoison = 0
220 while poisoned
221 if findtype "Orange Potion" backpack as pot
222 dclick pot
223 wait 200
224 else
225 while not targetexists
226 if not poisoned
227 hotkey '> Interrupt'
228 break
229 else
230 cast 'Cure'
231 wait 50
232 endif
233 endwhile
234 if targetexists
235 target self
236 wait 500
237 endif
238 endif
239 endwhile
240
241 if diffhits >= 30
242 if findtype "Yellow Potion" backpack as pot
243 getlabel pot desc
244 if "next usable" in desc
245 // do nothing
246 else
247 dclick pot
248 wait 200
249 endif
250 endif
251
252 if diffhits >= 30 and mana >= 12
253 while not targetexists
254 if diffhits >= 60
255 cast 'Heal'
256 else
257 cast 'Greater Heal'
258 endif
259 wait 50
260 if hp = maxhp
261 hotkey '> Interrupt'
262 break
263 endif
264 endwhile
265 if targetexists
266 target self
267 wait 50
268 endif
269 endif
270 endif
271
272 getlabel myKillTarget desc2
273 // poison lethal
274 if "Lethal" in desc2
275 @setvar! isLethalPoison 1
276 break
277 elseif castPoisonAnyway = 1 and "Ticks" in desc2
278 @setvar! isLethalPoison 1
279 break
280 elseif castPoisonAnyway = 1 and "Poison" in desc2
281 @setvar! isLethalPoison 1
282 break
283 elseif diffhits >= 30
284 // need a heal
285 break
286 elseif mana >= 9
287 while not targetexists and not dead myKillTarget
288 cast 'poison'
289 wait 50
290 if dead myKillTarget
291 hotkey '> Interrupt'
292 break
293 endif
294 endwhile
295 if targetexists
296 target myKillTarget
297 wait 200
298 endif
299 if insysmsg "Target cannot be seen."
300 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34
301 @setvar! isLethalPoison 1
302 endif
303 elseif not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy
304 overhead "Eating shrooms" 66
305 dclick mushy
306 cooldown 'Mushroom' cdMushroom
307 else
308 wait 200
309 endif
310 endwhile
311
312 if mana > 10 and not cooldown 'Curse'
313 while not targetexists and not dead myKillTarget
314 if diffhits < 30
315 cast 'Curse'
316 wait 50
317 elseif diffhits >= 30
318 hotkey '> Interrupt'
319 break
320 endif
321 endwhile
322 if targetexists
323 target myKillTarget
324 cooldown 'Curse' cdCurse
325 wait 200
326 endif
327 endif
328
329 if mana > 10 and not cooldown 'Mana Drain'
330 while not targetexists and not dead myKillTarget
331 if diffhits < 30
332 cast 'mana drain'
333 wait 50
334 elseif diffhits >= 30
335 hotkey '> Interrupt'
336 break
337 endif
338 endwhile
339 if targetexists
340 target myKillTarget
341 cooldown 'Mana Drain' cdManaDrain
342 wait 200
343 endif
344 endif
345
346 if not cooldown 'Mind Rot' and skill "Necromancy" >= 75
347 clearsysmsg
348 yell [MindRot
349 wait 100
350 if not insysmsg "You do not have enough holy symbols for that"
351 cooldown 'Mind Rot' cdMindRot
352 endif
353 wait 400
354 endif
355
356 if not cooldown 'Corpse Skin' and skill "Necromancy" >= 65
357 clearsysmsg
358 yell [CorpseSkin
359 wait 100
360 if not insysmsg "You do not have enough holy symbols for that"
361 cooldown 'Corpse Skin' cdCorpseSkin
362 endif
363 wait 400
364 endif
365
366 if not cooldown 'Evil Omen' and skill "Necromancy" >= 60
367 clearsysmsg
368 yell [EvilOmen
369 wait 100
370 if not insysmsg "You do not have enough holy symbols for that"
371 cooldown 'Evil Omen' cdEvilOmen
372 endif
373 wait 400
374 endif
375
376 if mana > 42
377 while not targetexists and mana > 40
378 if dead myKillTarget or diffhits >= 30
379 hotkey '> Interrupt'
380 break
381 else
382 cast 'Flamestrike'
383 wait 50
384 endif
385 endwhile
386 if targetexists
387 target myKillTarget
388 wait 500
389 endif
390 elseif not findbuff "actively meditating" and not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy
391 overhead "Eating shrooms" 66
392 dclick mushy
393 cooldown 'Mushroom' cdMushroom
394 elseif not findbuff "actively meditating" and not cooldown 'Meditation'
395 useskill 'meditation'
396 while mana < 50
397 wait 1000
398 if dead myKillTarget or diffhits >= 30
399 hotkey '> Interrupt'
400 break
401 endif
402 endwhile
403 endif
404
405 getlabel myKillTarget desc
406 overhead desc 66
407
408 if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc
409 @setvar! strikeTime 1
410 endif
411
412 if diffhits < 30 and mana >= 12 and not cooldown 'Lightning' and strikeTime = 0
413 while not targetexists
414 if dead myKillTarget or diffhits >= 30
415 hotkey '> Interrupt'
416 break
417 else
418 cast 'Lightning'
419 wait 50
420 endif
421 endwhile
422 if targetexists
423 target myKillTarget
424 cooldown 'Lightning' cdLightning
425 wait 500
426 endif
427 endif
428
429 getlabel myKillTarget desc
430 overhead desc 66
431
432 if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc
433 @setvar! strikeTime 1
434 endif
435
436 if diffhits < 30 and mana >= 5 and not cooldown 'Magic Arrow' and strikeTime = 0
437 while not targetexists
438 if dead myKillTarget or diffhits >= 30
439 hotkey '> Interrupt'
440 break
441 else
442 cast 'magic arrow'
443 wait 50
444 endif
445 endwhile
446 if targetexists
447 target myKillTarget
448 cooldown 'Magic Arrow' cdMagicArrow
449 wait 500
450 endif
451 endif
452
453 getlabel myKillTarget desc
454 overhead desc 66
455
456 if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc
457 @setvar! strikeTime 1
458 endif
459
460 if diffhits < 30 and mana >= 9 and not cooldown 'Harm' and strikeTime = 0
461 while not targetexists
462 if dead myKillTarget or diffhits >= 30
463 hotkey '> Interrupt'
464 break
465 else
466 cast 'harm'
467 wait 50
468 endif
469 endwhile
470 if targetexists
471 target myKillTarget
472 cooldown 'Harm' cdHarm
473 wait 500
474 endif
475 endif
476
477 getlabel myKillTarget desc
478 overhead desc 66
479
480 if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc
481 @setvar! strikeTime 1
482 endif
483
484 if diffhits < 30 and mana >= 12 and not cooldown 'Fireball' and strikeTime = 0
485 while not targetexists
486 if dead myKillTarget or diffhits >= 30
487 hotkey '> Interrupt'
488 break
489 else
490 cast 'fireball'
491 wait 50
492 endif
493 endwhile
494 if targetexists
495 target myKillTarget
496 cooldown 'Fireball' cdFireball
497 wait 500
498 endif
499 endif
500
501 if diffhits < 30 and bossMode = 1 and followers < 4
502 if ingump "12/" 622436516
503 @setvar! necro_has_enough_symbols 12
504 elseif ingump "11/" 622436516
505 @setvar! necro_has_enough_symbols 11
506 elseif ingump "10/" 622436516
507 @setvar! necro_has_enough_symbols 10
508 elseif ingump "9/" 622436516
509 @setvar! necro_has_enough_symbols 9
510 elseif ingump "8/" 622436516
511 @setvar! necro_has_enough_symbols 8
512 elseif ingump "7/" 622436516
513 @setvar! necro_has_enough_symbols 7
514 elseif ingump "6/" 622436516
515 @setvar! necro_has_enough_symbols 6
516 elseif ingump "5/" 622436516
517 @setvar! necro_has_enough_symbols 5
518 elseif ingump "4/" 622436516
519 @setvar! necro_has_enough_symbols 4
520 elseif ingump "3/" 622436516
521 @setvar! necro_has_enough_symbols 3
522 elseif ingump "2/" 622436516
523 @setvar! necro_has_enough_symbols 2
524 elseif ingump "1/" 622436516
525 @setvar! necro_has_enough_symbols 1
526 elseif ingump "0/" 622436516
527 @setvar! necro_has_enough_symbols 0
528 endif
529 while 6 > necro_has_enough_symbols
530 overhead "Waiting on Necro Symbols"
531 wait 1000
532 if ingump "12/" 622436516
533 @setvar! necro_has_enough_symbols 12
534 elseif ingump "11/" 622436516
535 @setvar! necro_has_enough_symbols 11
536 elseif ingump "10/" 622436516
537 @setvar! necro_has_enough_symbols 10
538 elseif ingump "9/" 622436516
539 @setvar! necro_has_enough_symbols 9
540 elseif ingump "8/" 622436516
541 @setvar! necro_has_enough_symbols 8
542 elseif ingump "7/" 622436516
543 @setvar! necro_has_enough_symbols 7
544 elseif ingump "6/" 622436516
545 @setvar! necro_has_enough_symbols 6
546 elseif ingump "5/" 622436516
547 @setvar! necro_has_enough_symbols 5
548 elseif ingump "4/" 622436516
549 @setvar! necro_has_enough_symbols 4
550 elseif ingump "3/" 622436516
551 @setvar! necro_has_enough_symbols 3
552 elseif ingump "2/" 622436516
553 @setvar! necro_has_enough_symbols 2
554 elseif ingump "1/" 622436516
555 @setvar! necro_has_enough_symbols 1
556 elseif ingump "0/" 622436516
557 @setvar! necro_has_enough_symbols 0
558 endif
559 if diffhits >= 30
560 hotkey '> Interrupt'
561 break
562 endif
563 endwhile
564 while cooldown 'Wither'
565 if diffhits >= 30
566 hotkey '> Interrupt'
567 break
568 endif
569 clearsysmsg
570 overhead "Waiting on Wither"
571 wait 1000
572 endwhile
573
574 while cooldown 'Vengeful Spirit'
575 if diffhits >= 30
576 hotkey '> Interrupt'
577 break
578 endif
579 clearsysmsg
580 overhead "Waiting on Vengeful Spirit"
581 wait 1000
582 endwhile
583
584 say "[VengefulSpirit"
585 cooldown "Vengeful Spirit" 31000
586 wait 600
587
588 say "[Wither"
589 cooldown "Wither" 31000
590 wait 600
591 if followers < 4
592 cast "Fire Elemental"
593 wait 5000
594 endif
595
596 say "All Guard Me"
597 endif
598
599 wait 50
600endwhile
601
602wait 500
603
604if targetexists
605 hotkey 'Cancel Current Target'
606endif
607
608hotkey 'all guard me'
609
610if canYouMakeAMushroom = 1 and counttype "mushroom" backpack < 5
611 while counttype "mushroom" backpack < 15
612 cast "Create Food"
613 wait 200
614 if counttype "mushroom" backpack = 0
615 break
616 endif
617 endwhile
618endif
619
620while mana < 50
621 if not findbuff "actively meditating" and not cooldown 'Meditate'
622 useskill 'meditation'
623 endif
624 wait 500
625endwhile