Uo Autobot Necro Mage summon script by jaseowns with Hellzy edits by liveonce
Related: Necromancy necromancerautobotmageryjaseownsnecroomnimini-bosssafecure without pots out of fight
Description: Update 2.2.2 1/2/23 Jases autobot script, edited by hellz to hopefully make double lich faster, and safety from attacking player pets (summon, bonded check) thanks to jase for the idea. Keeps you from killing murderer or criminal player pets. Omniboss Miniboss safe, updated to cure without pots when out of fight
1# Jaseowns scrip edited by Hellzy, includes pet check protection, a few escapes due to poisoning and healing- additional usage of flamestrike. Untested with mindblast.
2# One hotkey mage cycle, nox, poison by Jaseowns
3# UO Outlands - https://outlands.uorazorscripts.com/mage-bot
4#
5# Cooldowns are live, so this script now attempts to display those
6# Make cooldowns match the names of skills
7# (check out for details: https://outlands.uorazorscripts.com/mage-bot)
8#
9# VERISON: v2.2.2
10#
11#
12// 12/26/2022
13// - updated poison strike and how it deals with poison
14// - added earth elemental as pet only instead of mummy
15// 12/21/2022
16// - fixed bug with mindblast and two lich summons
17// 12/17/2022
18// - V2 of AutoBot created. Idea is to leverage things from mining script
19##################
20## Always room for improvment, thanks for watching!
21############
22
23# Set this to one, if you want to cast poison once no matter what
24# If you have 100 poisoning and want Lethal, set this to 0
25@setvar! castPoisonAnyway 0
26
27# This will auto replay this script if you want it too
28@setvar! autoBotEnabled 1
29
30# Update this variable to 1 for ALL KILL
31# Update this variable to 0 for target nearest
32@setvar! setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster 0
33
34###############
35### Choose your summons
36######
37@setvar! castSummonFireElementalCount 2
38@setvar! castSummonCreatureCount 1
39@setvar! castSummonEarthElementalCount 0
40@setvar! castSummonEarthElementalAsMummy 0
41
42
43
44###############
45### Choose your spells
46######
47@setvar! castCurse 1
48@setvar! castManadrain 0
49@setvar! castLightning 1
50@setvar! castFireball 1
51@setvar! castHarm 1
52@setvar! castMagicArrow 1
53# When other spells are on cooldown, do you want to cast MindBlast or Flamestrike or both
54@setvar! castMindBlast 0
55@setvar! castFlamestrike 1
56
57### Buffs
58@setvar! castBless 1
59@setvar! castMagicShield 1
60@setvar! castReactiveArmor 1
61# Drink Magic resist potion (only if magic shield buff not found)
62@setvar! drinkMagicResistPot 1
63
64###############
65### Choose your necro spells (ignored if less then required necro skill)
66######
67@setvar! castEvilOmen 1
68@setvar! castCorpseSkin 1
69@setvar! castVampiricEmbrace 0
70@setvar! castMindRot 1
71@setvar! castPoisonStrike 1
72@setvar! castBloodOath 1
73@setvar! castPainSpike 1
74@setvar! requireWitherBeforeSummons 0
75
76###############
77### Edit these cooldowns to match your wizard grimoire
78######
79@setvar! canYouMakeAMushroom 1
80@setvar! cdLightning 20000
81@setvar! cdMagicArrow 20000
82@setvar! cdHarm 20000
83@setvar! cdFireball 20000
84
85###############
86### Necro Cooldowns
87######
88@setvar! cdEvilOmen 30500
89@setvar! cdVampiricEmbrace 30500
90@setvar! cdCorpseSkin 30500
91@setvar! cdMindRot 30500
92@setvar! cdWither 30500
93@setvar! cdVengefulSpirit 30500
94@setvar! cdBloodOath 30500
95@setvar! cdPainSpike 30500
96@setvar! cdPoisonStrike 30500
97
98
99#### Buff Cooldowns
100@setvar! cdMushroom 61000
101@setvar! cdMagicShield 61000
102@setvar! cdReactiveArmor 61000
103@setvar! cdMeditation 10000
104@setvar! cdMeditationMini 3000
105@setvar! cdKillTarget 60000
106
107#### Random cooldowns
108@setvar! cdPreventOverheadSpam 2000
109
110#### Mushroom count (I like a lot of shroomies)
111@setvar! makeThisManyMushroomsCount 15
112@setvar! butOnlyIHaveLessThenThisCount 5
113
114@setvar! patrolPetEvenIfLastTargetIsBeyondEightTiles 1
115
116if counttype "gold coin" backpack as total
117 if 10000 < total
118 overhead "Warning: {{total}} gold!" 34
119 endif
120endif
121
122if findtype "dungeon torch" backpack as item
123 overhead "Holy crap!" 88
124 say "I got one!" 88
125 overhead "I got one!" 88
126elseif findtype 30580 backpack as item
127 overhead "Holy crap!" 88
128 say "I got one!" 88
129 overhead "I got one!" 88
130endif
131
132
133#### Pet Names, unique to you
134if not listexists petNameList
135 createlist petNameList
136endif
137if list petNameList = 0
138 pushlist petNameList "jaseneccy"
139 pushlist petNameList "jaseyoutube"
140 pushlist petNameList "jaseytfollow"
141 pushlist petNameList "jaseytfollower"
142 pushlist petNameList "jasesubscribed"
143 pushlist petNameList "jaseoutlands"
144 pushlist petNameList "jaseuorazorscripts"
145 pushlist petNameList "jaseyoutuber"
146 pushlist petNameList "jasefunez"
147 pushlist petNameList "jasetwitch"
148 pushlist petNameList "jasesubscribe"
149 pushlist petNameList "jasefueoz"
150endif
151
152
153##################################################################
154#
155# Hopefully you do not have to edit after this :)
156#
157##################################################################
158
159if not varexist JaseOwns
160 overhead "v2.2.2 Hellzy edit 1/2/23" 34
161 overhead "uorazorscripts.com/mage-bot" 34
162 say "This script was brought to you by youtube.com/Jaseowns and Hellzy" 88
163 wait 500
164 @setvar! JaseOwns 1
165endif
166
167if not gumpexists 622436516 and skill "Necromancy" >= 50
168 say '[NecromancyHotbar'
169 wait 500
170endif
171
172// Make sure we have a spell book attached
173if findlayer self righthand as item
174 // do nothing
175elseif findtype "3834" backpack as item
176 dclick item
177else
178 overhead "No book bro!" 34
179endif
180#if dead myKillTarget and targetexists and diffhits < 30 and not poisoned
181# hotkey 'Cancel Current Target'
182# say 'all guard me'
183#endif
184
185// Setting current necro symbols - checks again it the attack loop
186@setvar! necroSymbols 12
187if gumpexists 622436516 and skill "Necromancy" >= 50
188 if ingump "12/" 622436516
189 @setvar! necroSymbols 12
190 elseif ingump "13/" 622436516
191 @setvar! necroSymbols 13
192 elseif ingump "14/" 622436516
193 @setvar! necroSymbols 14
194 elseif ingump "15/" 622436516
195 @setvar! necroSymbols 15
196 elseif ingump "16/" 622436516
197 @setvar! necroSymbols 16
198 elseif ingump "17/" 622436516
199 @setvar! necroSymbols 17
200 elseif ingump "18/" 622436516
201 @setvar! necroSymbols 18
202 elseif ingump "19/" 622436516
203 @setvar! necroSymbols 19
204 elseif ingump "20/" 622436516
205 @setvar! necroSymbols 20
206 elseif ingump "21/" 622436516
207 @setvar! necroSymbols 21
208 elseif ingump "11/" 622436516
209 @setvar! necroSymbols 11
210 elseif ingump "10/" 622436516
211 @setvar! necroSymbols 10
212 elseif ingump "9/" 622436516
213 @setvar! necroSymbols 9
214 elseif ingump "8/" 622436516
215 @setvar! necroSymbols 8
216 elseif ingump "7/" 622436516
217 @setvar! necroSymbols 7
218 elseif ingump "6/" 622436516
219 @setvar! necroSymbols 6
220 elseif ingump "5/" 622436516
221 @setvar! necroSymbols 5
222 elseif ingump "4/" 622436516
223 @setvar! necroSymbols 4
224 elseif ingump "3/" 622436516
225 @setvar! necroSymbols 3
226 elseif ingump "2/" 622436516
227 @setvar! necroSymbols 2
228 elseif ingump "1/" 622436516
229 @setvar! necroSymbols 1
230 elseif ingump "0/" 622436516
231 @setvar! necroSymbols 0
232 endif
233endif
234
235if not timerexists reactiveArmorTimer
236 createtimer reactiveArmorTimer
237 settimer reactiveArmorTimer cdMagicShield
238endif
239
240if not timerexists magicShieldTimer
241 createtimer magicShieldTimer
242 settimer magicShieldTimer cdMagicShield
243endif
244
245if not timerexists magicMushroomTimer
246 createtimer magicMushroomTimer
247 settimer magicMushroomTimer cdMushroom
248endif
249
250if not timerexists magicArrowTimer
251 createtimer magicArrowTimer
252 settimer magicArrowTimer cdMagicArrow
253endif
254
255if not timerexists lightningTimer
256 createtimer lightningTimer
257 settimer lightningTimer cdLightning
258endif
259
260if not timerexists harmTimer
261 createtimer harmTimer
262 settimer harmTimer cdHarm
263endif
264
265if not timerexists fireballTimer
266 createtimer fireballTimer
267 settimer fireballTimer cdFireball
268endif
269
270if not timerexists evilOmenTimer
271 createtimer evilOmenTimer
272 settimer evilOmenTimer cdEvilOmen
273endif
274
275if not timerexists vampiricEmbraceTimer
276 createtimer vampiricEmbraceTimer
277 settimer vampiricEmbraceTimer cdVampiricEmbrace
278endif
279
280if not timerexists corpseSkinTimer
281 createtimer corpseSkinTimer
282 settimer corpseSkinTimer cdCorpseSkin
283endif
284
285if not timerexists mindRotTimer
286 createtimer mindRotTimer
287 settimer mindRotTimer cdMindRot
288endif
289
290if not timerexists meditiationTimer
291 createtimer meditiationTimer
292 settimer meditiationTimer cdMeditation
293endif
294
295if not timerexists killTargetTimer
296 createtimer killTargetTimer
297 settimer killTargetTimer cdKillTarget
298endif
299
300if not timerexists witherTimer
301 createtimer witherTimer
302 settimer witherTimer cdWither
303endif
304
305if not timerexists vengefulSpiritTimer
306 createtimer vengefulSpiritTimer
307 settimer vengefulSpiritTimer cdVengefulSpirit
308endif
309
310if not timerexists bloodOathTimer
311 createtimer bloodOathTimer
312 settimer bloodOathTimer cdBloodOath
313endif
314
315if not timerexists painSpikeTimer
316 createtimer painSpikeTimer
317 settimer painSpikeTimer cdPainSpike
318endif
319
320if not timerexists poisonStrikeTimer
321 createtimer poisonStrikeTimer
322 settimer poisonStrikeTimer cdPoisonStrike
323endif
324
325if not timerexists preventOverheadSpamTimer
326 createtimer preventOverheadSpamTimer
327 settimer preventOverheadSpamTimer cdPreventOverheadSpam
328endif
329
330@setvar! cdPreventSpamNecroAbilities 750
331if not timerexists preventSpamNecroAbilitiesTimer
332 createtimer preventSpamNecroAbilitiesTimer
333 settimer preventSpamNecroAbilitiesTimer cdPreventSpamNecroAbilities
334endif
335
336if not varexist myEarthPet
337 @setvar! myEarthPet 0
338endif
339if diffhits >= 30
340 if targetexists
341 hotkey 'Cancel Current Target'
342 endif
343 while not targetexists 'beneficial'
344 if diffhits >= 60
345 cast 'Heal'
346 else
347 cast 'Greater Heal'
348 endif
349 wait 50
350 if hp = maxhp
351 hotkey '> Interrupt'
352 break
353 endif
354 endwhile
355 if targetexists 'beneficial'
356 hotkey 'Target Self'
357 endif
358 endif
359
360 if poisoned
361 #overhead "Were poisoned"
362 if findtype "Orange Potion" backpack
363 while poisoned and findtype "Orange Potion" backpack kpot
364 dclick pot
365 wait 100
366 endwhile
367 else
368
369 if not poisoned
370 hotkey '> Interrupt'
371 replay
372 else
373 overhead "Casting Cure"
374 while poisoned and diffhits <= 30 and not targetexists
375 cast 'Cure'
376 wait 50
377 endwhile
378 endif
379
380 if targetexists
381 target self
382 wait 500
383 endif
384
385 endif
386 endif
387// make sure we have enough symbols to summon (6 for wither + vengful spirit)
388if skill "Necromancy" >= 90 and requireWitherBeforeSummons = 1
389 while followers < 4 and 6 > necroSymbols
390 // we already have vengeful spirit active, skip the check
391 if timer vengefulSpiritTimer < cdVengefulSpirit
392 break
393 endif
394
395
396
397 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
398 overhead "waiting for symbols" 88
399 settimer preventOverheadSpamTimer 0
400 endif
401 if gumpexists 622436516 and skill "Necromancy" >= 50
402 if ingump "12/" 622436516
403 @setvar! necroSymbols 12
404 elseif ingump "13/" 622436516
405 @setvar! necroSymbols 13
406 elseif ingump "14/" 622436516
407 @setvar! necroSymbols 14
408 elseif ingump "15/" 622436516
409 @setvar! necroSymbols 15
410 elseif ingump "16/" 622436516
411 @setvar! necroSymbols 16
412 elseif ingump "17/" 622436516
413 @setvar! necroSymbols 17
414 elseif ingump "18/" 622436516
415 @setvar! necroSymbols 18
416 elseif ingump "19/" 622436516
417 @setvar! necroSymbols 19
418 elseif ingump "20/" 622436516
419 @setvar! necroSymbols 20
420 elseif ingump "21/" 622436516
421 @setvar! necroSymbols 21
422 elseif ingump "11/" 622436516
423 @setvar! necroSymbols 11
424 elseif ingump "10/" 622436516
425 @setvar! necroSymbols 10
426 elseif ingump "9/" 622436516
427 @setvar! necroSymbols 9
428 elseif ingump "8/" 622436516
429 @setvar! necroSymbols 8
430 elseif ingump "7/" 622436516
431 @setvar! necroSymbols 7
432 elseif ingump "6/" 622436516
433 @setvar! necroSymbols 6
434 elseif ingump "5/" 622436516
435 @setvar! necroSymbols 5
436 elseif ingump "4/" 622436516
437 @setvar! necroSymbols 4
438 elseif ingump "3/" 622436516
439 @setvar! necroSymbols 3
440 elseif ingump "2/" 622436516
441 @setvar! necroSymbols 2
442 elseif ingump "1/" 622436516
443 @setvar! necroSymbols 1
444 elseif ingump "0/" 622436516
445 @setvar! necroSymbols 0
446 endif
447 endif
448 endwhile
449endif
450
451
452if not varexist lichOne
453 @setvar! lichOne 0
454endif
455
456if not varexist lichTwo
457 @setvar! lichTwo 0
458endif
459
460if not varexist earthOne
461 @setvar! earthOne 0
462endif
463
464if not varexist earthTwo
465 @setvar! earthTwo 0
466endif
467
468if lichOne = creatureOne or lichTwo = creatureOne or earthOne = creatureOne or earthTwo = creatureOne
469 overhead "Duplicated"
470 unsetvar creatureOne
471endif
472
473if diffhits >= 30
474 if targetexists
475 hotkey 'Cancel Current Target'
476 endif
477 while not targetexists 'beneficial'
478 if diffhits >= 60
479 cast 'Heal'
480 else
481 cast 'Greater Heal'
482 endif
483 wait 50
484 if hp = maxhp
485 hotkey '> Interrupt'
486 break
487 endif
488 endwhile
489 if targetexists 'beneficial'
490 target self
491 endif
492 replay
493endif
494
495
496if castSummonEarthElementalCount > 0
497 if diffhits < 30
498 if followers = 0
499 @setvar! followCount 0
500 elseif followers = 1
501 @setvar! followCount 1
502 elseif followers = 2
503 @setvar! followCount 2
504 elseif followers = 3
505 @setvar! followCount 3
506 elseif followers = 4
507 @setvar! followCount 4
508 elseif followers = 5
509 @setvar! followCount 5
510 endif
511 if dead earthOne or not find earthOne ground -1 -1 12
512 if followers < 4
513 while mana < 50
514 if diffhits >= 30
515 replay
516 endif
517 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
518 overhead "waiting for mana" 88
519 settimer preventOverheadSpamTimer 0
520 endif
521 if not findbuff "Actively Meditating"
522 useskill "meditation"
523 endif
524 wait 200
525 endwhile
526
527 if castSummonEarthElementalAsMummy = 1
528 if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50
529 yell "[VengefulSpirit"
530 settimer vengefulSpiritTimer 0
531 wait 500
532 endif
533 elseif timer vengefulSpiritTimer <= cdVengefulSpirit and skill "Necromancy" >= 50
534 overhead "Waiting for spirit to go away"
535 replay
536 endif
537 while followers = followCount
538 cast "Earth elemental"
539 wait 500
540 if timer witherTimer >= cdWither and skill "Necromancy" >= 95
541 yell "[Wither"
542 settimer witherTimer 0
543 endif
544 if diffhits >= 30
545 hotkey '> Interrupt'
546 break
547 endif
548 endwhile
549 // 158 - an ancient mummy
550 // 14 - an earth elemental
551 if findtype 158|14 ground -1 -1 6 as myPet
552 if noto myPet = "friend" and list petNameList > 0
553 overhead "Renaming..."
554 foreach petName in petNameList
555 rename myPet petName
556 break
557 endfor
558 poplist petNameList "front"
559 endif
560 @setvar! earthOne myPet
561 say "all guard me"
562 replay
563 endif
564 endif
565 endif
566 endif
567
568 if diffhits < 30 and castSummonEarthElementalCount > 1
569 if followers = 0
570 @setvar! followCount 0
571 elseif followers = 1
572 @setvar! followCount 1
573 elseif followers = 2
574 @setvar! followCount 2
575 elseif followers = 3
576 @setvar! followCount 3
577 elseif followers = 4
578 @setvar! followCount 4
579 elseif followers = 5
580 @setvar! followCount 5
581 endif
582 if dead earthTwo or not find earthTwo ground -1 -1 12
583 if followers < 4
584 while mana < 50
585 if diffhits >= 30
586 replay
587 endif
588 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
589 overhead "waiting for mana" 88
590 settimer preventOverheadSpamTimer 0
591 endif
592 if not findbuff "Actively Meditating"
593 useskill "meditation"
594 endif
595 wait 200
596 endwhile
597 if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50
598 yell "[VengefulSpirit"
599 settimer vengefulSpiritTimer 0
600 wait 500
601 endif
602 while followers = followCount
603 cast "Earth elemental"
604 wait 500
605 if timer witherTimer >= cdWither and skill "Necromancy" >= 95
606 yell "[Wither"
607 settimer witherTimer 0
608 endif
609 if diffhits >= 30
610 hotkey '> Interrupt'
611 break
612 endif
613 endwhile
614 // 158 - an ancient mummy
615 // 14 - an earth elemental
616 if findtype 158|14 ground -1 -1 6 as myPet
617 if noto myPet = "friend" and list petNameList > 0
618 overhead "Renaming..."
619 foreach petName in petNameList
620 rename myPet petName
621 break
622 endfor
623 poplist petNameList "front"
624 endif
625 @setvar! earthTwo myPet
626 say "all guard me"
627 #replay
628 endif
629 endif
630 endif
631 endif
632endif
633
634
635if castSummonFireElementalCount > 0
636 if diffhits < 30
637
638 if lichOne = 0
639 // do nothing
640 elseif lichOne = lichTwo
641 overhead "Duplicated"
642 unsetvar lichOne
643 endif
644
645 if followers = 0
646 @setvar! followCount 0
647 elseif followers = 1
648 @setvar! followCount 1
649 elseif followers = 2
650 @setvar! followCount 2
651 elseif followers = 3
652 @setvar! followCount 3
653 elseif followers = 4
654 @setvar! followCount 4
655 elseif followers = 5
656 @setvar! followCount 5
657 endif
658 if dead lichOne or not find lichOne ground -1 -1 12 or dead lichTwo
659 if followers < 4
660 while mana < 50
661 if diffhits >= 30
662 replay
663 endif
664 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
665 overhead "waiting for mana" 88
666 settimer preventOverheadSpamTimer 0
667 endif
668 if not findbuff "Actively Meditating"
669 useskill "meditation"
670 endif
671 wait 200
672 endwhile
673 if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50
674 yell "[VengefulSpirit"
675 settimer vengefulSpiritTimer 0
676 wait 500
677 endif
678 @ignore lichTwo
679 while followers = followCount
680 if targetexists
681 hotkey 'Cancel Current Target'
682 endif
683 cast "fire elemental"
684 wait 500
685 if timer witherTimer >= cdWither and skill "Necromancy" >= 95
686 yell "[Wither"
687 settimer witherTimer 0
688 endif
689 if diffhits >= 30
690 hotkey '> Interrupt'
691 break
692 endif
693 endwhile
694 // 24 - a lich
695 // 15 - a fire elemental
696 if findtype 24|15 ground -1 -1 6 as myPet
697 if noto myPet = "friend" and list petNameList > 0
698 overhead "Renaming..."
699 foreach petName in petNameList
700 rename myPet petName
701 break
702 endfor
703 poplist petNameList "front"
704 endif
705 @setvar! lichOne myPet
706 overhead "Lich One Set" 88 lichOne
707 say "all guard me"
708 @clearignore
709 #replay
710 endif
711 endif
712 endif
713 endif
714
715 if diffhits < 30 and castSummonFireElementalCount > 1
716 if followers = 0
717 @setvar! followCount 0
718 elseif followers = 1
719 @setvar! followCount 1
720 elseif followers = 2
721 @setvar! followCount 2
722 elseif followers = 3
723 @setvar! followCount 3
724 elseif followers = 4
725 @setvar! followCount 4
726 elseif followers = 5
727 @setvar! followCount 5
728 endif
729 if dead lichTwo or not find lichTwo ground -1 -1 12 or dead lichOne
730 if followers < 4
731 while mana < 50
732 if diffhits >= 30
733 replay
734 endif
735 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
736 overhead "waiting for mana" 88
737 settimer preventOverheadSpamTimer 0
738 endif
739 if not findbuff "Actively Meditating"
740 useskill "meditation"
741 endif
742 wait 200
743 endwhile
744 if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50
745 yell "[VengefulSpirit"
746 settimer vengefulSpiritTimer 0
747 wait 500
748 endif
749 @ignore lichOne
750 while followers = followCount
751 if targetexists
752 hotkey 'Cancel Current Target'
753 endif
754 cast "fire elemental"
755 wait 500
756 if timer witherTimer >= cdWither and skill "Necromancy" >= 95
757 yell "[Wither"
758 settimer witherTimer 0
759 endif
760 if diffhits >= 30
761 hotkey '> Interrupt'
762 break
763 endif
764 endwhile
765 // 24 - a lich
766 // 15 - a fire elemental
767 if findtype 24|15 ground -1 -1 6 as myPet
768 if noto myPet = "friend" and list petNameList > 0
769 overhead "Renaming..."
770 foreach petName in petNameList
771 rename myPet petName
772 break
773 endfor
774 poplist petNameList "front"
775 endif
776 @clearignore
777 @setvar! lichTwo myPet
778 overhead "Lich Two Set" 88 lichTwo
779 say "all guard me"
780 #replay
781 endif
782
783 endif
784 endif
785 endif
786endif
787
788if castSummonCreatureCount = 0
789 // do nothing
790elseif castSummonCreatureCount = 1 and not dead creatureOne
791 // do nothing
792elseif castSummonCreatureCount = 1
793 if followers = 4 and diffhits < 30
794 if followers = 0
795 @setvar! followCount 0
796 elseif followers = 1
797 @setvar! followCount 1
798 elseif followers = 2
799 @setvar! followCount 2
800 elseif followers = 3
801 @setvar! followCount 3
802 elseif followers = 4
803 @setvar! followCount 4
804 elseif followers = 5
805 @setvar! followCount 5
806 endif
807 while mana < 14
808 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
809 overhead "waiting for mana" 88
810 settimer preventOverheadSpamTimer 0
811 endif
812 if diffhits >= 30
813 replay
814 endif
815 if not findbuff "Actively Meditating"
816 useskill "meditation"
817 endif
818 wait 200
819 endwhile
820 if timer vengefulSpiritTimer >= cdVengefulSpirit
821 yell "[VengefulSpirit"
822 settimer vengefulSpiritTimer 0
823 wait 200
824 endif
825 while followers = followCount
826 if targetexists
827 hotkey 'Cancel Current Target'
828 endif
829 cast 'Summ. Creature'
830 wait 500
831 if diffhits >= 30
832 hotkey '> Interrupt'
833 replay
834 endif
835 endwhile
836 say "all guard me"
837 endif
838else
839 for 6
840 if index = 0
841 // do nothing
842 else
843 if diffhits < 30
844 @setvar! needToSummon 0
845 if index = 1
846 if dead creatureOne or not find creatureOne ground -1 -1 12
847 @setvar! needToSummon 1
848 endif
849 elseif index = 2
850 if dead creatureTwo or not find creatureTwo ground -1 -1 12
851 @setvar! needToSummon 1
852 endif
853 elseif index = 3
854 if dead creatureThree or not find creatureThree ground -1 -1 12
855 @setvar! needToSummon 1
856 endif
857 elseif index = 4
858 if dead creatureFour or not find creatureFour ground -1 -1 12
859 @setvar! needToSummon 1
860 endif
861 elseif index = 5
862 if dead creatureFive or not find creatureFive ground -1 -1 12
863 @setvar! needToSummon 1
864 endif
865 endif
866
867 if needToSummon = 1
868 if followers = 0
869 @setvar! followCount 0
870 elseif followers = 1
871 @setvar! followCount 1
872 elseif followers = 2
873 @setvar! followCount 2
874 elseif followers = 3
875 @setvar! followCount 3
876 elseif followers = 4
877 @setvar! followCount 4
878 elseif followers = 5
879 @setvar! followCount 5
880 endif
881
882 while mana < 50
883 if diffhits >= 30
884 replay
885 endif
886 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
887 overhead "waiting for mana" 88
888 settimer preventOverheadSpamTimer 0
889 endif
890 if not findbuff "Actively Meditating"
891 useskill "meditation"
892 endif
893 wait 200
894 endwhile
895 if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50
896 yell "[VengefulSpirit"
897 settimer vengefulSpiritTimer 0
898 wait 500
899 endif
900 while followers = followCount
901 cast "Summ. Creature"
902 wait 500
903 if timer witherTimer >= cdWither and skill "Necromancy" >= 95
904 yell "[Wither"
905 settimer witherTimer 0
906 endif
907 if diffhits >= 30
908 hotkey '> Interrupt'
909 break
910 endif
911 endwhile
912 hotkey 'Next Friendly Monster Target'
913 @setvar! checkLastTarget lasttarget
914 if checkLastTarget = earthOne
915 hotkey 'Next Friendly Monster Target'
916 @setvar! checkLastTarget lasttarget
917 endif
918
919 if checkLastTarget = earthTwo
920 hotkey 'Next Friendly Monster Target'
921 @setvar! checkLastTarget lasttarget
922 endif
923
924 if checkLastTarget = lichOne
925 hotkey 'Next Friendly Monster Target'
926 @setvar! checkLastTarget lasttarget
927 endif
928
929 if checkLastTarget = lichTwo
930 hotkey 'Next Friendly Monster Target'
931 @setvar! checkLastTarget lasttarget
932 endif
933 @setvar! creatureOne checkLastTarget
934
935 if find checkLastTarget ground -1 -1 6 as myPet
936 if noto myPet = "friend" and list petNameList > 0
937 overhead "Renaming..."
938 foreach petName in petNameList
939 rename myPet petName
940 break
941 endfor
942 poplist petNameList "front"
943 endif
944 if index = 1
945 if dead creatureOne or not find creatureOne ground -1 -1 12
946 @setvar! creatureOne myPet
947 endif
948 elseif index = 2
949 if dead creatureTwo or not find creatureTwo ground -1 -1 12
950 @setvar! creatureTwo myPet
951 endif
952 elseif index = 3
953 if dead creatureThree or not find creatureThree ground -1 -1 12
954 @setvar! creatureThree myPet
955 endif
956 elseif index = 4
957 if dead creatureFour or not find creatureFour ground -1 -1 12
958 @setvar! creatureFour myPet
959 endif
960 elseif index = 5
961 if dead creatureFive or not find creatureFive ground -1 -1 12
962 @setvar! creatureFive myPet
963 endif
964 endif
965 endif
966 endif
967 endif
968 endif
969 if index = castSummonCreatureCount
970 break
971 endif
972 endfor
973endif
974
975# Eat food if we got it
976if not findbuff "food" and findtype "tray" backpack as jood
977 dclick jood
978 wait 200
979endif
980
981# Use Taste ID if possible
982if skill "Taste Identification" >= 50 and not findbuff "herb" and timer meditiationTimer >= 11000
983 useskill 'tasteidentification'
984 wft 500
985 target backpack
986 settimer meditiationTimer 0
987endif
988
989if setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster = 1
990 say "all kill"
991 wait 200
992 while targetexists
993 // wait
994 wait 50
995 endwhile
996else
997 hotkey 'Target Closest Non-Friendly Monster'
998 wait 200
999
1000
1001 if insysmsg "No one matching that was found"
1002 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
1003 overhead "found no one" 34
1004 settimer preventOverheadSpamTimer 0
1005 endif
1006 if autoBotEnabled = 1
1007 wait 500
1008 replay
1009 endif
1010 stop
1011
1012 elseif not find lasttarget ground -1 -1 9
1013 overhead "● ▼ OUT OF RANGE ▼ ●" 88 lasttarget
1014 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
1015 overhead "Move closer, more then 9 tiles away" 34
1016 settimer preventOverheadSpamTimer 0
1017 endif
1018 if patrolPetEvenIfLastTargetIsBeyondEightTiles = 1 and find myEarthPet ground -1 -1 12
1019 menu myEarthPet 2
1020 wft 500
1021 target lasttarget
1022 endif
1023
1024 if autoBotEnabled = 1
1025 wait 500
1026 replay
1027 endif
1028 stop
1029 else
1030 overhead "● ▼▼ HERE ▼▼ ●" 88 lasttarget
1031 endif
1032endif
1033
1034
1035 @setvar myKillTarget lasttarget
1036
1037
1038getlabel myKillTarget descPet
1039#overhead descPet
1040
1041if "(summoned)" in descPet or "(bonded)" in descPet
1042 overhead "Player pet, replaying..."
1043 replay
1044endif
1045
1046
1047if not varexist myPreviousKillTarget
1048 @setvar myPreviousKillTarget 0
1049endif
1050
1051getlabel myKillTarget desc
1052overhead desc myKillTarget
1053
1054
1055if not varexist myEarthPet or dead myEarthPet
1056 if not dead earthOne
1057 @setvar! myEarthPet earthOne
1058 elseif not dead earthTwo
1059 @setvar! myEarthPet earthTwo
1060 endif
1061endif
1062
1063if find myEarthPet ground -1 -1 12
1064 menu myEarthPet 2
1065 wft 500
1066 target myKillTarget
1067endif
1068
1069#target myKillTarget
1070say 'all kill'
1071wft 200
1072target myKillTarget
1073
1074if diffhits >= 30 and mana > 12
1075 while not targetexists
1076 if diffhits >= 60
1077 cast 'Heal'
1078 else
1079 cast 'Greater Heal'
1080 endif
1081 wait 50
1082 if hp = maxhp
1083 hotkey '> Interrupt'
1084 break
1085 endif
1086 endwhile
1087 if targetexists
1088 target self
1089 endif
1090elseif castBless = 1 and str <= 100 and followers >= 4
1091 while not targetexists and mana > 12
1092 cast 'Bless'
1093 wait 50
1094 if diffhits >= 30
1095 hotkey '> Interrupt'
1096 break
1097 endif
1098 endwhile
1099 if targetexists
1100 target self
1101 endif
1102endif
1103
1104if not listexists myCursedTargets
1105 createlist myCursedTargets
1106endif
1107
1108if not listexists myManaDrainTargets
1109 createlist myManaDrainTargets
1110endif
1111
1112if find myKillTarget -1 -1 12 as killy
1113 if myKillTarget = myPreviousKillTarget
1114 // do nothing
1115 else
1116
1117 // Herding using crook
1118 if skill "Herding" > 0 and findtype 3713 backpack as jrook
1119 dclick jrook
1120 wft 500
1121 target killy
1122 endif
1123
1124 if inlist myManaDrainTargets myKillTarget
1125 overhead "We already mana drained this guy" 88
1126 // do nothing
1127 elseif castManadrain = 0
1128 // do nothing
1129 elseif followers >= 4
1130 while not targetexists and not dead myKillTarget
1131 if diffhits < 30
1132 cast 'mana drain'
1133 wait 50
1134 elseif diffhits >= 30
1135 hotkey '> Interrupt'
1136 break
1137 endif
1138 endwhile
1139 if targetexists
1140 target myKillTarget
1141 pushlist myManaDrainTargets myKillTarget
1142 settimer killTargetTimer 0
1143 wait 500
1144 endif
1145 endif
1146
1147 if inlist myCursedTargets myKillTarget
1148 overhead "We already cursed this guy" 88
1149 // do nothing
1150 elseif castCurse = 0
1151 // do nothing
1152 elseif followers >= 4
1153
1154 if diffhits < 30
1155 if find myKillTarget ground -1 -1 10
1156 while not targetexists and not dead myKillTarget and diffhits <= 30
1157 cast 'Curse'
1158 wait 50
1159 endwhile
1160 else
1161 overhead 'target is more than 10 squares away, get closer to curse'
1162 endif
1163 elseif diffhits >= 30
1164 hotkey '> Interrupt'
1165 break
1166 endif
1167
1168 if targetexists
1169 target myKillTarget
1170 pushlist myCursedTargets myKillTarget
1171 settimer killTargetTimer 0
1172 wait 500
1173 endif
1174 endif
1175 @setvar myPreviousKillTarget myKillTarget
1176 endif
1177else
1178 overhead "Out of range" 34
1179endif
1180
1181
1182clearsysmsg
1183
1184say "all guard"
1185
1186@setvar! isLethalPoison 0
1187@setvar! isDiscorded 0
1188@setvar! isHerded 0
1189
1190while not dead myKillTarget and find myKillTarget -1 -1 12 as killy
1191
1192 for 5
1193 // lost a follower
1194 if followers < 4
1195 overhead 'lost a pet'
1196 replay
1197 endif
1198
1199 if dead myKillTarget
1200 break
1201 elseif insysmsg "Target cannot be seen."
1202 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34
1203 replay
1204 elseif find myKillTarget -1 -1 12 as killy
1205 // do nothing - in range to kill
1206 else
1207 break
1208 endif
1209
1210 if skill "Herding" > 0 and isHerded = 0 and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook
1211 dclick jrook
1212 wft 500
1213 target myKillTarget
1214 settimer meditiationTimer 8000
1215 @setvar! isHerded 1
1216 endif
1217
1218 if gumpexists 622436516 and skill "Necromancy" >= 50
1219 if ingump "12/" 622436516
1220 @setvar! necroSymbols 12
1221 elseif ingump "13/" 622436516
1222 @setvar! necroSymbols 13
1223 elseif ingump "14/" 622436516
1224 @setvar! necroSymbols 14
1225 elseif ingump "15/" 622436516
1226 @setvar! necroSymbols 15
1227 elseif ingump "16/" 622436516
1228 @setvar! necroSymbols 16
1229 elseif ingump "17/" 622436516
1230 @setvar! necroSymbols 17
1231 elseif ingump "18/" 622436516
1232 @setvar! necroSymbols 18
1233 elseif ingump "19/" 622436516
1234 @setvar! necroSymbols 19
1235 elseif ingump "20/" 622436516
1236 @setvar! necroSymbols 20
1237 elseif ingump "21/" 622436516
1238 @setvar! necroSymbols 21
1239 elseif ingump "11/" 622436516
1240 @setvar! necroSymbols 11
1241 elseif ingump "10/" 622436516
1242 @setvar! necroSymbols 10
1243 elseif ingump "9/" 622436516
1244 @setvar! necroSymbols 9
1245 elseif ingump "8/" 622436516
1246 @setvar! necroSymbols 8
1247 elseif ingump "7/" 622436516
1248 @setvar! necroSymbols 7
1249 elseif ingump "6/" 622436516
1250 @setvar! necroSymbols 6
1251 elseif ingump "5/" 622436516
1252 @setvar! necroSymbols 5
1253 elseif ingump "4/" 622436516
1254 @setvar! necroSymbols 4
1255 elseif ingump "3/" 622436516
1256 @setvar! necroSymbols 3
1257 elseif ingump "2/" 622436516
1258 @setvar! necroSymbols 2
1259 elseif ingump "1/" 622436516
1260 @setvar! necroSymbols 1
1261 elseif ingump "0/" 622436516
1262 @setvar! necroSymbols 0
1263 endif
1264 endif
1265
1266 if skill "Discordance" >= 50
1267 if isDiscorded = 0
1268 getlabel myKillTarget discordDesc
1269 if "discord" in discordDesc
1270 @setvar! isDiscorded 1
1271 elseif timer meditiationTimer >= 11000
1272 useskill 'Discordance'
1273 wft 500
1274 if insysmsg "What instrument"
1275 if findtype "bamboo flute" backpack as inny
1276 target inny
1277 elseif findtype "tambourine" backpack as inny
1278 target inny
1279 elseif findtype "drum" backpack as inny
1280 target inny
1281 elseif findtype "lute" backpack as inny
1282 target inny
1283 elseif findtype "harp" backpack as inny
1284 target inny
1285 elseif findtype "lap harp" backpack as inny
1286 target inny
1287 else
1288 overhead "I do not have an inny" 34
1289 @setvar! isDiscorded 1
1290 endif
1291 wft 500
1292 endif
1293 if targetexists
1294 target myKillTarget
1295 overhead "Discorded" 88 myKillTarget
1296 endif
1297 settimer meditiationTimer 5000
1298 endif
1299 endif
1300
1301 if not findbuff "song of discordance" and timer meditiationTimer >= 11000
1302 useskill 'Discordance'
1303 wft 500
1304 if insysmsg "What instrument"
1305 if findtype "bamboo flute" backpack as inny
1306 target inny
1307 elseif findtype "tambourine" backpack as inny
1308 target inny
1309 elseif findtype "drum" backpack as inny
1310 target inny
1311 elseif findtype "lute" backpack as inny
1312 target inny
1313 elseif findtype "harp" backpack as inny
1314 target inny
1315 elseif findtype "lap harp" backpack as inny
1316 target inny
1317 else
1318 overhead "I do not have an inny" 34
1319 @setvar! isDiscorded 1
1320 endif
1321 wft 500
1322 endif
1323 target backpack
1324 settimer meditiationTimer 0
1325 endif
1326 endif
1327
1328 if castMagicShield = 1 and timer magicShieldTimer >= cdMagicShield and not findbuff "Magic Reflection"
1329 cast "Magic Reflection"
1330 wait 1000
1331 elseif drinkMagicResistPot = 1 and not findbuff "Magic Reflection" and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as pot
1332 dclick pot
1333 wait 200
1334 endif
1335
1336 if findbuff "Magic Reflection"
1337 settimer magicShieldTimer 0
1338 endif
1339
1340 if castReactiveArmor = 1 and timer reactiveArmorTimer >= cdReactiveArmor and not findbuff "Reactive Armor"
1341 cast "Reactive Armor"
1342 wait 200
1343 endif
1344
1345 if findbuff "Reactive Armor"
1346 settimer reactiveArmorTimer 0
1347 endif
1348
1349 if skill "poisoning" >= 100 or castPoisonAnyway = 1
1350 if timer meditiationTimer >= cdMeditationMini
1351 if castMindRot = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer mindRotTimer >= cdMindRot and skill "Necromancy" >= 75 and 3 < necroSymbols
1352 yell "[MindRot"
1353 settimer preventSpamNecroAbilitiesTimer 0
1354 settimer mindRotTimer 0
1355 wait 500
1356 if gumpexists 622436516
1357 if ingump "12/" 622436516
1358 @setvar! necroSymbols 12
1359 elseif ingump "13/" 622436516
1360 @setvar! necroSymbols 13
1361 elseif ingump "14/" 622436516
1362 @setvar! necroSymbols 14
1363 elseif ingump "15/" 622436516
1364 @setvar! necroSymbols 15
1365 elseif ingump "16/" 622436516
1366 @setvar! necroSymbols 16
1367 elseif ingump "17/" 622436516
1368 @setvar! necroSymbols 17
1369 elseif ingump "18/" 622436516
1370 @setvar! necroSymbols 18
1371 elseif ingump "19/" 622436516
1372 @setvar! necroSymbols 19
1373 elseif ingump "20/" 622436516
1374 @setvar! necroSymbols 20
1375 elseif ingump "21/" 622436516
1376 @setvar! necroSymbols 21
1377 elseif ingump "11/" 622436516
1378 @setvar! necroSymbols 11
1379 elseif ingump "10/" 622436516
1380 @setvar! necroSymbols 10
1381 elseif ingump "9/" 622436516
1382 @setvar! necroSymbols 9
1383 elseif ingump "8/" 622436516
1384 @setvar! necroSymbols 8
1385 elseif ingump "7/" 622436516
1386 @setvar! necroSymbols 7
1387 elseif ingump "6/" 622436516
1388 @setvar! necroSymbols 6
1389 elseif ingump "5/" 622436516
1390 @setvar! necroSymbols 5
1391 elseif ingump "4/" 622436516
1392 @setvar! necroSymbols 4
1393 elseif ingump "3/" 622436516
1394 @setvar! necroSymbols 3
1395 elseif ingump "2/" 622436516
1396 @setvar! necroSymbols 2
1397 elseif ingump "1/" 622436516
1398 @setvar! necroSymbols 1
1399 elseif ingump "0/" 622436516
1400 @setvar! necroSymbols 0
1401 endif
1402 endif
1403 endif
1404
1405
1406 getlabel myKillTarget desc2
1407 overhead desc2
1408
1409 if castPoisonStrike = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer poisonStrikeTimer >= cdPoisonStrike and skill "Necromancy" >= 55 and 1 < necroSymbols
1410 if "Ticks" in desc2
1411 if "[8" in desc2 or "[7" in desc2 or "[6" in desc2 or "[5" in desc2 or "[4" in desc2 or "[3" in desc2 or "[2" in desc2 or "[1 " in desc2
1412 yell "[PoisonStrike"
1413 wft 500
1414 target myKillTarget
1415 wait 200
1416 settimer preventSpamNecroAbilitiesTimer 0
1417 settimer poisonStrikeTimer 0
1418 wait 500
1419 if gumpexists 622436516
1420 if ingump "12/" 622436516
1421 @setvar! necroSymbols 12
1422 elseif ingump "13/" 622436516
1423 @setvar! necroSymbols 13
1424 elseif ingump "14/" 622436516
1425 @setvar! necroSymbols 14
1426 elseif ingump "15/" 622436516
1427 @setvar! necroSymbols 15
1428 elseif ingump "16/" 622436516
1429 @setvar! necroSymbols 16
1430 elseif ingump "17/" 622436516
1431 @setvar! necroSymbols 17
1432 elseif ingump "18/" 622436516
1433 @setvar! necroSymbols 18
1434 elseif ingump "19/" 622436516
1435 @setvar! necroSymbols 19
1436 elseif ingump "20/" 622436516
1437 @setvar! necroSymbols 20
1438 elseif ingump "21/" 622436516
1439 @setvar! necroSymbols 21
1440 elseif ingump "11/" 622436516
1441 @setvar! necroSymbols 11
1442 elseif ingump "10/" 622436516
1443 @setvar! necroSymbols 10
1444 elseif ingump "9/" 622436516
1445 @setvar! necroSymbols 9
1446 elseif ingump "8/" 622436516
1447 @setvar! necroSymbols 8
1448 elseif ingump "7/" 622436516
1449 @setvar! necroSymbols 7
1450 elseif ingump "6/" 622436516
1451 @setvar! necroSymbols 6
1452 elseif ingump "5/" 622436516
1453 @setvar! necroSymbols 5
1454 elseif ingump "4/" 622436516
1455 @setvar! necroSymbols 4
1456 elseif ingump "3/" 622436516
1457 @setvar! necroSymbols 3
1458 elseif ingump "2/" 622436516
1459 @setvar! necroSymbols 2
1460 elseif ingump "1/" 622436516
1461 @setvar! necroSymbols 1
1462 elseif ingump "0/" 622436516
1463 @setvar! necroSymbols 0
1464 endif
1465 endif
1466 endif
1467 endif
1468 endif
1469
1470
1471
1472 if isLethalPoison = 0
1473
1474 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy
1475 overhead "Eating shrooms" 66
1476 dclick mushy
1477 settimer magicMushroomTimer 0
1478 endif
1479
1480 if insysmsg "Target cannot be seen."
1481 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34
1482 replay
1483 endif
1484
1485 // poison lethal
1486 if "Lethal" in desc2
1487 @setvar! isLethalPoison 1
1488 break
1489 elseif castPoisonAnyway = 1 and "Ticks" in desc2
1490 @setvar! isLethalPoison 1
1491 break
1492 elseif castPoisonAnyway = 1 and "Poison" in desc2
1493 @setvar! isLethalPoison 1
1494 break
1495 elseif diffhits >= 30
1496 // need a heal
1497 break
1498 elseif mana >= 9
1499 while not targetexists
1500 cast 'poison'
1501 wait 50
1502 if dead myKillTarget
1503 hotkey '> Interrupt'
1504 replay
1505 endif
1506 endwhile
1507 target myKillTarget
1508 wait 200
1509 if insysmsg "Target cannot be seen."
1510 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34
1511 @setvar! isLethalPoison 1
1512 endif
1513 else
1514 wait 200
1515 endif
1516 endif
1517 endif
1518 endif
1519
1520 if castCorpseSkin = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer corpseSkinTimer >= cdCorpseSkin and skill "Necromancy" >= 65 and timer meditiationTimer >= cdMeditationMini and 2 < necroSymbols
1521 yell "[CorpseSkin"
1522 settimer preventSpamNecroAbilitiesTimer 0
1523 settimer corpseSkinTimer 0
1524 cooldown CorpseSkin cdCorpseSkin
1525 wait 500
1526 if gumpexists 622436516
1527 if ingump "12/" 622436516
1528 @setvar! necroSymbols 12
1529 elseif ingump "13/" 622436516
1530 @setvar! necroSymbols 13
1531 elseif ingump "14/" 622436516
1532 @setvar! necroSymbols 14
1533 elseif ingump "15/" 622436516
1534 @setvar! necroSymbols 15
1535 elseif ingump "16/" 622436516
1536 @setvar! necroSymbols 16
1537 elseif ingump "17/" 622436516
1538 @setvar! necroSymbols 17
1539 elseif ingump "18/" 622436516
1540 @setvar! necroSymbols 18
1541 elseif ingump "19/" 622436516
1542 @setvar! necroSymbols 19
1543 elseif ingump "20/" 622436516
1544 @setvar! necroSymbols 20
1545 elseif ingump "21/" 622436516
1546 @setvar! necroSymbols 21
1547 elseif ingump "11/" 622436516
1548 @setvar! necroSymbols 11
1549 elseif ingump "10/" 622436516
1550 @setvar! necroSymbols 10
1551 elseif ingump "9/" 622436516
1552 @setvar! necroSymbols 9
1553 elseif ingump "8/" 622436516
1554 @setvar! necroSymbols 8
1555 elseif ingump "7/" 622436516
1556 @setvar! necroSymbols 7
1557 elseif ingump "6/" 622436516
1558 @setvar! necroSymbols 6
1559 elseif ingump "5/" 622436516
1560 @setvar! necroSymbols 5
1561 elseif ingump "4/" 622436516
1562 @setvar! necroSymbols 4
1563 elseif ingump "3/" 622436516
1564 @setvar! necroSymbols 3
1565 elseif ingump "2/" 622436516
1566 @setvar! necroSymbols 2
1567 elseif ingump "1/" 622436516
1568 @setvar! necroSymbols 1
1569 elseif ingump "0/" 622436516
1570 @setvar! necroSymbols 0
1571 endif
1572 endif
1573 endif
1574
1575 if castBloodOath = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer bloodOathTimer >= cdBloodOath and 5 < necroSymbols
1576 yell "[BloodOath"
1577 settimer preventSpamNecroAbilitiesTimer 0
1578 settimer bloodOathTimer 0
1579 if gumpexists 622436516
1580 if ingump "12/" 622436516
1581 @setvar! necroSymbols 12
1582 elseif ingump "13/" 622436516
1583 @setvar! necroSymbols 13
1584 elseif ingump "14/" 622436516
1585 @setvar! necroSymbols 14
1586 elseif ingump "15/" 622436516
1587 @setvar! necroSymbols 15
1588 elseif ingump "16/" 622436516
1589 @setvar! necroSymbols 16
1590 elseif ingump "17/" 622436516
1591 @setvar! necroSymbols 17
1592 elseif ingump "18/" 622436516
1593 @setvar! necroSymbols 18
1594 elseif ingump "19/" 622436516
1595 @setvar! necroSymbols 19
1596 elseif ingump "20/" 622436516
1597 @setvar! necroSymbols 20
1598 elseif ingump "21/" 622436516
1599 @setvar! necroSymbols 21
1600 elseif ingump "11/" 622436516
1601 @setvar! necroSymbols 11
1602 elseif ingump "10/" 622436516
1603 @setvar! necroSymbols 10
1604 elseif ingump "9/" 622436516
1605 @setvar! necroSymbols 9
1606 elseif ingump "8/" 622436516
1607 @setvar! necroSymbols 8
1608 elseif ingump "7/" 622436516
1609 @setvar! necroSymbols 7
1610 elseif ingump "6/" 622436516
1611 @setvar! necroSymbols 6
1612 elseif ingump "5/" 622436516
1613 @setvar! necroSymbols 5
1614 elseif ingump "4/" 622436516
1615 @setvar! necroSymbols 4
1616 elseif ingump "3/" 622436516
1617 @setvar! necroSymbols 3
1618 elseif ingump "2/" 622436516
1619 @setvar! necroSymbols 2
1620 elseif ingump "1/" 622436516
1621 @setvar! necroSymbols 1
1622 elseif ingump "0/" 622436516
1623 @setvar! necroSymbols 0
1624 endif
1625 endif
1626 endif
1627
1628
1629 if castEvilOmen = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer evilOmenTimer >= cdEvilOmen and skill "Necromancy" >= 60 and timer meditiationTimer >= cdMeditationMini and 2 < necroSymbols
1630 yell "[EvilOmen"
1631 settimer evilOmenTimer 0
1632 settimer preventSpamNecroAbilitiesTimer 0
1633 cooldown EvilOmen cdEvilOmen
1634 wait 500
1635 if gumpexists 622436516
1636 if ingump "12/" 622436516
1637 @setvar! necroSymbols 12
1638 elseif ingump "13/" 622436516
1639 @setvar! necroSymbols 13
1640 elseif ingump "14/" 622436516
1641 @setvar! necroSymbols 14
1642 elseif ingump "15/" 622436516
1643 @setvar! necroSymbols 15
1644 elseif ingump "16/" 622436516
1645 @setvar! necroSymbols 16
1646 elseif ingump "17/" 622436516
1647 @setvar! necroSymbols 17
1648 elseif ingump "18/" 622436516
1649 @setvar! necroSymbols 18
1650 elseif ingump "19/" 622436516
1651 @setvar! necroSymbols 19
1652 elseif ingump "20/" 622436516
1653 @setvar! necroSymbols 20
1654 elseif ingump "21/" 622436516
1655 @setvar! necroSymbols 21
1656 elseif ingump "11/" 622436516
1657 @setvar! necroSymbols 11
1658 elseif ingump "10/" 622436516
1659 @setvar! necroSymbols 10
1660 elseif ingump "9/" 622436516
1661 @setvar! necroSymbols 9
1662 elseif ingump "8/" 622436516
1663 @setvar! necroSymbols 8
1664 elseif ingump "7/" 622436516
1665 @setvar! necroSymbols 7
1666 elseif ingump "6/" 622436516
1667 @setvar! necroSymbols 6
1668 elseif ingump "5/" 622436516
1669 @setvar! necroSymbols 5
1670 elseif ingump "4/" 622436516
1671 @setvar! necroSymbols 4
1672 elseif ingump "3/" 622436516
1673 @setvar! necroSymbols 3
1674 elseif ingump "2/" 622436516
1675 @setvar! necroSymbols 2
1676 elseif ingump "1/" 622436516
1677 @setvar! necroSymbols 1
1678 elseif ingump "0/" 622436516
1679 @setvar! necroSymbols 0
1680 endif
1681 endif
1682 endif
1683
1684 if castVampiricEmbrace = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer vampiricEmbraceTimer >= cdVampiricEmbrace and skill "Necromancy" >= 75 and timer meditiationTimer >= cdMeditationMini and 3 < necroSymbols and findtype 8198 ground -1 -1 4 as jorpse
1685 yell "[VampiricEmbrace"
1686 wft 500
1687 target jorpse
1688 settimer preventSpamNecroAbilitiesTimer 0
1689 settimer vampiricEmbraceTimer 0
1690 cooldown VampiricEmbrace cdVampiricEmbrace
1691 wait 500
1692 if gumpexists 622436516
1693 if ingump "12/" 622436516
1694 @setvar! necroSymbols 12
1695 elseif ingump "13/" 622436516
1696 @setvar! necroSymbols 13
1697 elseif ingump "14/" 622436516
1698 @setvar! necroSymbols 14
1699 elseif ingump "15/" 622436516
1700 @setvar! necroSymbols 15
1701 elseif ingump "16/" 622436516
1702 @setvar! necroSymbols 16
1703 elseif ingump "17/" 622436516
1704 @setvar! necroSymbols 17
1705 elseif ingump "18/" 622436516
1706 @setvar! necroSymbols 18
1707 elseif ingump "19/" 622436516
1708 @setvar! necroSymbols 19
1709 elseif ingump "20/" 622436516
1710 @setvar! necroSymbols 20
1711 elseif ingump "21/" 622436516
1712 @setvar! necroSymbols 21
1713 elseif ingump "11/" 622436516
1714 @setvar! necroSymbols 11
1715 elseif ingump "10/" 622436516
1716 @setvar! necroSymbols 10
1717 elseif ingump "9/" 622436516
1718 @setvar! necroSymbols 9
1719 elseif ingump "8/" 622436516
1720 @setvar! necroSymbols 8
1721 elseif ingump "7/" 622436516
1722 @setvar! necroSymbols 7
1723 elseif ingump "6/" 622436516
1724 @setvar! necroSymbols 6
1725 elseif ingump "5/" 622436516
1726 @setvar! necroSymbols 5
1727 elseif ingump "4/" 622436516
1728 @setvar! necroSymbols 4
1729 elseif ingump "3/" 622436516
1730 @setvar! necroSymbols 3
1731 elseif ingump "2/" 622436516
1732 @setvar! necroSymbols 2
1733 elseif ingump "1/" 622436516
1734 @setvar! necroSymbols 1
1735 elseif ingump "0/" 622436516
1736 @setvar! necroSymbols 0
1737 endif
1738 endif
1739 endif
1740
1741 if castPainSpike = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer painSpikeTimer >= cdPainSpike and skill "Necromancy" >= 95 and timer meditiationTimer >= cdMeditationMini and 5 < necroSymbols and findtype 8198 ground -1 -1 6 as jorpse
1742 yell "[PainSpike"
1743 wft 500
1744 target myKillTarget
1745 wait 200
1746 settimer preventSpamNecroAbilitiesTimer 0
1747 if insysmsg "You do not see any corpses"
1748 // do nothing
1749 else
1750 settimer painSpikeTimer 0
1751 cooldown PainSpike cdPainSpike
1752 endif
1753 if gumpexists 622436516
1754 if ingump "12/" 622436516
1755 @setvar! necroSymbols 12
1756 elseif ingump "13/" 622436516
1757 @setvar! necroSymbols 13
1758 elseif ingump "14/" 622436516
1759 @setvar! necroSymbols 14
1760 elseif ingump "15/" 622436516
1761 @setvar! necroSymbols 15
1762 elseif ingump "16/" 622436516
1763 @setvar! necroSymbols 16
1764 elseif ingump "17/" 622436516
1765 @setvar! necroSymbols 17
1766 elseif ingump "18/" 622436516
1767 @setvar! necroSymbols 18
1768 elseif ingump "19/" 622436516
1769 @setvar! necroSymbols 19
1770 elseif ingump "20/" 622436516
1771 @setvar! necroSymbols 20
1772 elseif ingump "21/" 622436516
1773 @setvar! necroSymbols 21
1774 elseif ingump "11/" 622436516
1775 @setvar! necroSymbols 11
1776 elseif ingump "10/" 622436516
1777 @setvar! necroSymbols 10
1778 elseif ingump "9/" 622436516
1779 @setvar! necroSymbols 9
1780 elseif ingump "8/" 622436516
1781 @setvar! necroSymbols 8
1782 elseif ingump "7/" 622436516
1783 @setvar! necroSymbols 7
1784 elseif ingump "6/" 622436516
1785 @setvar! necroSymbols 6
1786 elseif ingump "5/" 622436516
1787 @setvar! necroSymbols 5
1788 elseif ingump "4/" 622436516
1789 @setvar! necroSymbols 4
1790 elseif ingump "3/" 622436516
1791 @setvar! necroSymbols 3
1792 elseif ingump "2/" 622436516
1793 @setvar! necroSymbols 2
1794 elseif ingump "1/" 622436516
1795 @setvar! necroSymbols 1
1796 elseif ingump "0/" 622436516
1797 @setvar! necroSymbols 0
1798 endif
1799 endif
1800 endif
1801
1802 if diffhits >= 30
1803 if findtype "Yellow Potion" backpack as pot
1804 getlabel pot desc
1805 if "next usable" in desc
1806 // do nothing
1807 else
1808 dclick pot
1809 wait 500
1810 endif
1811 endif
1812
1813 if diffhits >= 30 and mana >= 12
1814 while not targetexists
1815 if diffhits >= 60
1816 cast 'Heal'
1817 else
1818 cast 'Greater Heal'
1819 endif
1820 wait 50
1821 if hp = maxhp
1822 hotkey '> Interrupt'
1823 break
1824 endif
1825 endwhile
1826 if targetexists
1827 target self
1828 wait 50
1829 endif
1830 endif
1831 endif
1832
1833 if poisoned
1834 overhead "were poisoned"
1835 if findtype "Orange Potion" backpack
1836 while poisoned and findtype "Orange Potion" backpack as kpot
1837 dclick kpot
1838 wait 100
1839 endwhile
1840 else
1841 while poisoned and diffhits <= 30 and not targetexists
1842 if not poisoned
1843 hotkey '> Interrupt'
1844 break
1845 else
1846 cast 'Cure'
1847 wait 50
1848 endif
1849 endwhile
1850 if targetexists
1851 target self
1852 wait 500
1853 endif
1854 endif
1855 endif
1856
1857 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy
1858 overhead "Eating shrooms" 66
1859 dclick mushy
1860 settimer magicMushroomTimer 0
1861 endif
1862
1863 if index = 0
1864
1865 if castFlamestrike = 1 and mana > 42
1866 # while not targetexists and mana > 40
1867
1868 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy and not poisoned and timer meditiationTimer >= cdMeditationMini
1869 overhead "Eating shrooms" 66
1870 dclick mushy
1871 settimer magicMushroomTimer 0
1872 endif
1873
1874 if followers < 4 or dead myKillTarget or diffhits >= 30
1875 hotkey '> Interrupt'
1876 break
1877 else
1878 if find myKillTarget ground -1 -1 10
1879 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and mana >= 40
1880 cast 'Flamestrike'
1881 wait 50
1882 endwhile
1883 else
1884 overhead 'Too far away get closer to flamestrike'
1885 endif
1886 endif
1887 #endwhile
1888 if targetexists
1889 target myKillTarget
1890 wait 500
1891 endif
1892 endif
1893
1894 elseif index = 1
1895
1896 if castLightning = 1 and diffhits < 30 and mana >= 12 and timer lightningTimer >= cdLightning and timer meditiationTimer >= cdMeditationMini and not poisoned
1897
1898 if followers < 4 or dead myKillTarget or diffhits >= 30
1899 hotkey '> Interrupt'
1900 break
1901 else
1902 if find myKillTarget ground -1 -1 10
1903 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 11
1904 cast 'Lightning'
1905 wait 50
1906 endwhile
1907 else
1908 overhead 'Too far to cast lightning, get closer'
1909 endif
1910 endif
1911
1912 if targetexists
1913 target myKillTarget
1914 settimer lightningTimer 0
1915 cooldown Lightning cdLightning
1916 wait 500
1917 endif
1918 endif
1919
1920 elseif index = 2
1921
1922 if castMagicArrow = 1 and diffhits < 30 and mana >= 5 and timer magicArrowTimer >= cdMagicArrow and timer meditiationTimer >= cdMeditationMini
1923
1924 if followers < 4 or dead myKillTarget or diffhits >= 30
1925 hotkey '> Interrupt'
1926 break
1927 else
1928 if find myKillTarget ground -1 -1 10
1929 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 5
1930 cast 'magic arrow'
1931 wait 50
1932 endwhile
1933 else
1934 overhead 'too far away for magic arrow, get closer'
1935 endif
1936 endif
1937
1938 if targetexists
1939 target myKillTarget
1940 settimer magicArrowTimer 0
1941 cooldown MagicArrow cdMagicArrow
1942 wait 500
1943 endif
1944 endif
1945
1946 elseif index = 3
1947
1948 if castHarm = 1 and diffhits < 30 and mana >= 9 and timer harmTimer >= cdHarm and timer meditiationTimer >= cdMeditationMini
1949
1950 if followers < 4 or dead myKillTarget or diffhits >= 30
1951 hotkey '> Interrupt'
1952 break
1953 else
1954 if find myKillTarget ground -1 -1 10
1955 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 6
1956 cast 'harm'
1957 wait 50
1958 endwhile
1959 else
1960 overhead 'too far away to cast harm, get closer'
1961 endif
1962 endif
1963
1964 if targetexists
1965 target myKillTarget
1966 settimer harmTimer 0
1967 cooldown Harm cdHarm
1968 wait 500
1969 endif
1970 endif
1971
1972 elseif index = 4
1973
1974 if castFireball = 1 and diffhits < 30 and mana >= 12 and timer fireballTimer >= cdFireball and timer meditiationTimer >= cdMeditationMini
1975
1976 if followers < 4 or dead myKillTarget or diffhits >= 30
1977 hotkey '> Interrupt'
1978 break
1979 else
1980
1981 if find myKillTarget ground -1 -1 10
1982 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 9
1983 cast 'fireball'
1984 wait 50
1985 endwhile
1986 else
1987 overhead 'too far away to fireball, get closer two'
1988 endif
1989 endif
1990
1991 if targetexists
1992 target myKillTarget
1993 settimer fireballTimer 0
1994 cooldown Fireball cdFireball
1995 wait 500
1996 endif
1997 endif
1998
1999 elseif index = 5
2000
2001 if castFireball = 1 and diffhits < 30 and mana >= 12 and timer fireballTimer >= cdFireball and timer meditiationTimer >= cdMeditationMini
2002
2003 if followers < 4 or dead myKillTarget or diffhits >= 30
2004 hotkey '> Interrupt'
2005 break
2006 else
2007 if find myKillTarget ground -1 -1 10
2008 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 9
2009 cast 'fireball'
2010 wait 50
2011 endwhile
2012 else
2013 overhead 'too far away to fireball, get closer two'
2014 endif
2015 endif
2016
2017 if targetexists
2018 target myKillTarget
2019 settimer fireballTimer 0
2020 cooldown Fireball cdFireball
2021 wait 500
2022 endif
2023 endif
2024
2025 endif
2026
2027 endfor
2028
2029 if find myKillTarget -1 -1 12 as killy
2030 // do nothing
2031 else
2032 overhead "Out of range" 34
2033 break
2034 endif
2035
2036
2037 if diffhits >= 30
2038
2039 if findtype "Yellow Potion" backpack as pot
2040 getlabel pot desc
2041 if "next usable" in desc
2042 // do nothing
2043 else
2044 dclick pot
2045 wait 500
2046 endif
2047 endif
2048
2049 if diffhits >= 30 and mana >= 12
2050 while not targetexists
2051 if diffhits >= 60
2052 cast 'Heal'
2053 else
2054 cast 'Greater Heal'
2055 endif
2056 wait 50
2057 if hp = maxhp
2058 hotkey '> Interrupt'
2059 break
2060 endif
2061 endwhile
2062 if targetexists
2063 target self
2064 wait 50
2065 endif
2066 endif
2067 elseif mana < 55 and findbuff "actively meditating"
2068 // wait for mana
2069 elseif timer meditiationTimer < cdMeditationMini and findbuff "actively meditating"
2070 // wait for mana
2071 elseif castMindBlast = 1 and mana >= 32
2072 while not targetexists and mana > 30
2073 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy
2074 overhead "Eating shrooms" 66
2075 dclick mushy
2076 settimer magicMushroomTimer 0
2077 endif
2078 if followers < 4 or dead myKillTarget or diffhits >= 30
2079
2080 hotkey '> Interrupt'
2081 break
2082 else
2083 if find myKillTarget ground -1 -1 10
2084 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 14
2085 cast 'Mind Blast'
2086 wait 50
2087 endwhile
2088 else
2089 overhead "Out of range, get closer to cast Mind Blast"
2090 endif
2091 endif
2092 endwhile
2093 if targetexists
2094 target myKillTarget
2095 wait 500
2096 endif
2097 if castFlamestrike = 1 and mana > 42
2098
2099
2100 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy
2101 overhead "Eating shrooms" 66
2102 dclick mushy
2103 settimer magicMushroomTimer 0
2104 endif
2105
2106 if followers < 4 or dead myKillTarget or diffhits >= 30
2107 hotkey '> Interrupt'
2108 break
2109 else
2110 if find myKillTarget ground -1 -1 10
2111 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 40
2112 cast 'Flamestrike'
2113 wait 50
2114 endwhile
2115 else
2116 overhead "Out of Range, get closer to cast Flamestrike 2"
2117 endif
2118 endif
2119
2120 if targetexists
2121 target myKillTarget
2122 wait 500
2123 endif
2124 endif
2125 elseif not findbuff "actively meditating" and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy
2126 overhead "Eating shrooms" 66
2127 dclick mushy
2128 settimer magicMushroomTimer 0
2129 elseif not findbuff "actively meditating" and timer meditiationTimer >= cdMeditation
2130 say "all guard me"
2131 useskill 'meditation'
2132 settimer meditiationTimer 0
2133 wait 500
2134 endif
2135 wait 50
2136endwhile
2137wait 500
2138if targetexists
2139 hotkey 'Cancel Current Target'
2140endif
2141if not findbuff "actively meditating"
2142 say "all guard me"
2143endif
2144#while mana < 50
2145# if setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster = 0
2146# hotkey 'Next Non-Friendly Monster Target'
2147# wait 400
2148# @setvar! myKillNext lasttarget
2149# getlabel myKillNext descPet2
2150# overhead descPet2
2151#
2152# if "(summoned)" in descPet or "(bonded)" in descPet
2153# overhead "Player pet, replaying..."
2154# replay
2155# endif
2156# if insysmsg "No one matching that was found"
2157# if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
2158# overhead "no next target" 34
2159# settimer preventOverheadSpamTimer 0
2160# endif
2161# elseif not find lasttarget ground -1 -1 9
2162# overhead "▼ NEXT TARGET HERE ▼" 88 lasttarget
2163# if timer preventOverheadSpamTimer >= cdPreventOverheadSpam
2164# overhead "Move closer, more then 9 tiles away" 34
2165# settimer preventOverheadSpamTimer 0
2166# endif
2167# elseif "(summoned)" in descPet or "(bonded)" in descPet
2168# overhead "Thats a player pet, skipping 2"
2169# endif
2170#
2171# else
2172# overhead "▼ NEXT TARGET HERE ▼" 88 lasttarget
2173# say "all guard me"
2174# #attack lasttarget
2175# endif
2176# endif
2177 if diffhits >= 30 and not dead myKillTarget
2178 if findtype "Yellow Potion" backpack as pot
2179 getlabel pot desc
2180 if "next usable" in desc
2181 // do nothing
2182 else
2183 dclick pot
2184 wait 200
2185 endif
2186 endif
2187 if diffhits >= 30 and mana >= 12
2188 while not targetexists
2189 if diffhits >= 60
2190 cast 'Heal'
2191 else
2192 cast 'Greater Heal'
2193 endif
2194 wait 50
2195 if hp = maxhp
2196 hotkey '> Interrupt'
2197 break
2198 endif
2199 endwhile
2200 if targetexists
2201 target self
2202 wait 50
2203 endif
2204 endif
2205 endif
2206 if not findbuff "actively meditating"
2207 useskill 'meditation'
2208 endif
2209 wait 500
2210 #endwhile
2211if canYouMakeAMushroom = 1 and counttype "mushroom" backpack < butOnlyIHaveLessThenThisCount
2212 while counttype "mushroom" backpack < makeThisManyMushroomsCount
2213 cast "Create Food"
2214 wait 200
2215 if diffhits >= 20 or counttype "mushroom" backpack = 0
2216 break
2217 endif
2218 endwhile
2219endif
2220if castVampiricEmbrace = 1 and timer vampiricEmbraceTimer >= cdVampiricEmbrace and skill "Necromancy" >= 70 and findtype 8198 ground -1 -1 4 as jorpse
2221 say "[VampiricEmbrace"
2222 wft 500
2223 target jorpse
2224 settimer vampiricEmbraceTimer 0
2225 cooldown VampiricEmbrace cdVampiricEmbrace
2226endif
2227
2228if timer killTargetTimer >= cdKillTarget
2229 overhead "We cleared curse and mana drain targets" 34
2230 removelist myCursedTargets
2231 removelist myManaDrainTargets
2232endif
2233
2234if autoBotEnabled = 1
2235 replay
2236endif
2237
2238// thanks for using a Jaseowns script!
2239// https://www.youtube.com/jaseowns
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250// We did it