Necro/Tamer Mage Bot UO Outlands By DaKlue - Can Contact me in JaseOwnes Discrod SET For Minimum Ping
TamingMagicMeditationDiscordancePeacemaking
Necro Summoner Mage Tamer V102.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/cc3e2ff7-786d-4d71-993f-edf5e7583766 for latest2# Automation by Jaseowns3## Script: Necro Summoner/ Mage Tamer V1.0.2 4## Created by: daklue#05#############################################6 7##################################################8# Necro/Tamer Mage Bot9# UO Outlands 10# By DaKlue - Can Contact me in JaseOwnes Discrod11#12# Version: v1.0.213################################################## 14# SET For Minimum Ping15@setvar! minimumWaitForPing 60016 17# make sure you add a friends list called: IgnoreMobs18@setvar! didYouSetupIgnoreMobs 019 20// 0 you choose (all kill)21// 1 will target nearest22// 2 will be find type23// 3 will be target next (newest one 8/14/2023)24@setvar! useTargetSystem 125 26# Do you want to use the new FindType code? Use 1 here27# Do you want to use the Target Nearest / Next? Use 2 here28# Else it will use the Target Closest Mon functionality 29@setvar! useFindTypeToTargetMonster 230 31# after a kill you must have this amount of mana to continue to next target32@setvar! minimumManaToCast 55 33 34# Set this to one, if you want to cast poison once no matter what35# If you have 100 poisoning and want Lethal, set this to 036@setvar! castPoisonAnyway 037 38# This will auto replay this script if you want it too39@setvar! autoBotEnabled 140 41# Tracking for reds 0 = Do Nothing42# Tracking for reds Recall away with magery and runebook = 1 43@setvar! redsnearby 044 45# Update this variable to 1 for ALL KILL46# Update this variable to 0 for target nearest47@setvar! setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster 048 49################################50###### Random abilities51################52@setvar! automaticallySkinCorpses 153@setvar! manaReserve 5554@setvar! cdRetryBasedOnTargetNotSeen 200055 56################################57###### Potion Controllers58################59@setvar! automaticallyDrinkStrPotIfOverWeight 160# Drink Magic resist potion (only if magic shield buff not found)61@setvar! automaticallyDrinkMagicPot 162@setvar! automaticallyDrinkHealPot 163@setvar! automaticallyDrinkCurePot 164#@setvar! automaticallyDrinkRefreshPot 165@setvar! hpCheckToTriggerCurePotion 4566#@setvar! stamDiffCheckToTriggerRedPotion 1067 68 69# Ultimate Summoner Hotkey Choose your summons by Jaseowns70# UO Outlands71# This is part of the mage bot, but you can have it72# as its own hotkey73 74##################################################################75# 76# NECRO SUMMONER MODE77#78##################################################################79###############80### Are you a Necro Summoner 1 yes, 0 no.81######82@setvar! NecroSummoner 183 84###############85### Choose your summons86######87@setvar! breakSpellCastAndResummonIfLessThanXFollowers 488@setvar! renamePets 089 90# Earth: 0, 1, 291@setvar! castSummonEarthElementalCount 092@setvar! castSummonMummyCount 193 94# Fire: 0, 1, 295@setvar! castSummonFireElementalCount 096@setvar! castSummonLichCount 197 98# Demon: 0, 1, 299@setvar! castSummonDemonCount 0100@setvar! castSummonThrallCount 0101 102# Air: 0, 1, 2103@setvar! castSummonAirCount 0104@setvar! castSummonFiendCount 0105 106# Water: 0, 1, 2107@setvar! castSummonWaterCount 0108@setvar! castSummonRagWitchCount 0109 110# Creature: 0, 1, 2, 3, 4, 5111@setvar! castSummonCreatureCount 1112 113# Energy Vortex: 0, 1114@setvar! castEnergyVortexCount 0115@setvar! castJackalSpiritCount 0116 117# Blade Spirit: 0, 1118@setvar! castBladeSpiritCount 0119@setvar! castSkeletalHuskCount 0120 121###############122### Choose your necro spells (ignored if less then required necro skill)123######124@setvar! castEvilOmen 1125@setvar! castCorpseSkin 1126@setvar! castVampiricEmbrace 1127@setvar! castMindRot 1128@setvar! castPoisonStrike 1129@setvar! castBloodOath 1130@setvar! castPainSpike 1131@setvar! castStrangle 1132@setvar! requireWitherBeforeSummons 0133 134###############135### Necro Cooldowns136######137@setvar! cdEvilOmen 30500138@setvar! cdVampiricEmbrace 30500139@setvar! cdCorpseSkin 30500140@setvar! cdMindRot 30500141@setvar! cdWither 30500142@setvar! cdVengefulSpirit 30500143@setvar! cdBloodOath 30500144@setvar! cdPainSpike 30500145@setvar! cdPoisonStrike 30500146@setvar! cdStrangle 305000147 148#### Pet Names, unique to you149if not listexists petNameList150 createlist petNameList151endif152if list petNameList = 0153 pushlist petNameList "jaseneccy"154 pushlist petNameList "jaseyoutube"155 pushlist petNameList "jaseytfollow"156 pushlist petNameList "jaseytfollower"157 pushlist petNameList "jasesubscribed"158 pushlist petNameList "jaseoutlands"159 pushlist petNameList "jaseuorazorscripts"160 pushlist petNameList "jaseyoutuber"161 pushlist petNameList "jasefunez"162 pushlist petNameList "jasetwitch"163 pushlist petNameList "jasesubscribe"164 pushlist petNameList "jasefueoz"165endif166 167##################################################################168# 169# TAMER MODE170#171##################################################################172@setvar! tamerModeEngaged 0173 174################################175###### How Many Pets176################177@setvar! totalPets 2178 179if skill "Animal Taming" > 80180 @setvar! tamerModeEngaged 1181 182 if not varexist jasePetOne183 @setvar! jasePetOne 0184 endif185 if not find jasePetOne ground -1 -1 20186 overhead "Select your Pet 1" 88187 @setvar! jasePetOne188 wait 200189 endif190 191 if totalPets = 2 or totalPets = 3 or totalPets = 4 or totalPets = 5192 if not varexist jasePetTwo193 @setvar! jasePetTwo 0194 endif195 if not find jasePetTwo ground -1 -1 20196 overhead "Select your Pet 2" 88197 @setvar! jasePetTwo198 wait 200199 endif200 else201 @setvar! jasePetTwo 0202 endif203 204 if totalPets = 3 or totalPets = 4 or totalPets = 5205 if not varexist jasePetThree206 @setvar! jasePetThree 0207 endif208 if not find jasePetThree ground -1 -1 20209 overhead "Select your Pet 3" 88210 @setvar! jasePetThree211 wait 200212 endif213 else214 @setvar! jasePetThree 0215 endif216 217 if totalPets = 4 or totalPets = 5218 if not varexist jasePetFour219 @setvar! jasePetFour 0220 endif221 if not find jasePetFour ground -1 -1 20222 overhead "Select your Pet 4" 88223 @setvar! jasePetFour224 wait 200225 endif226 else227 @setvar! jasePetFour 0228 endif229 230 if totalPets = 5231 if not varexist jasePetFive232 @setvar! jasePetFive 0233 endif234 if not find jasePetFive ground -1 -1 20235 overhead "Select your Pet 5" 88236 @setvar! jasePetFive237 wait 200238 endif239 else240 @setvar! jasePetFive 0241 endif242endif243 244###############245### Pet Healing246#############247@setvar! bandageCheckTimerCd 5000248settimer bandageCheckTimer bandageCheckTimerCd249if warmode "off" 250 @setvar! canUseKit 0251 if skill "veterinary" > 50252 @setvar! canUseKit 1253 endif254 255 256 if not bandaging 257 if canUseKit = 1 and hp < maxhp and timer bandageCheckTimer > bandageCheckTimerCd258 if findtype "veterinary supplies" backpack as item259 dclick item260 wait 650261 endif262 settimer bandageCheckTimer 0263 else264 if not bandaging and hp >= maxhp and findtype "clean bandage%s%" backpack as item265 dclick item266 wft 650267 target jaseowns_PetOne 268 overhead "Heal Target" 77 jaseowns_PetOne269 wait minimumWaitForPingUnequipping270 endif271 if myOtherPet1 != 0 and hp >= maxhp and not bandaging and findtype "clean bandage%s%" backpack as item272 dclick item273 wft 650274 target myOtherPet1275 overhead "Heal Target" 66 myOtherPet1276 wait minimumWaitForPingUnequipping277 endif278 if myOtherPet2 != 0 and hp >= maxhp and not bandaging and findtype "clean bandage%s%" backpack as item279 dclick item280 wft 650281 target myOtherPet2282 overhead "Heal Target" 55 myOtherPet2283 wait minimumWaitForPingUnequipping284 endif285 if myOtherPet3 != 0 and hp >= maxhp and not bandaging and findtype "clean bandage%s%" backpack as item286 dclick item287 wft 650288 target myOtherPet3289 overhead "Heal Target" 44 myOtherPet3290 wait minimumWaitForPingUnequipping291 endif292 if myOtherPet4 != 0 and hp >= maxhp and not bandaging and findtype "clean bandage%s%" backpack as item293 dclick item294 wft 650295 target myOtherPet4296 overhead "Heal Target" 33 myOtherPet4297 wait minimumWaitForPingUnequipping298 endif299 endif300 else301 settimer bandageCheckTimer 0302 endif303else304 //Do Nothing305endif306 307 308##################################################################309# 310# MAGE MODE311#312##################################################################313###############314### Choose your spells315######316@setvar! castCurse 1317@setvar! castManadrain 0318@setvar! castManaVampire 0319@setvar! castLightning 1320@setvar! castChainLightning 0321@setvar! castFireball 1322@setvar! castHarm 1323@setvar! castMagicArrow 1324# When other spells are on cooldown, do you want to cast Ebolt, MindBlast, Flamestrike or all three325@setvar! castEbolt 1326@setvar! castMindBlast 1327@setvar! castFlamestrike 0328 329 330################################331###### Heal Controllers332################333@setvar! hpCheckToTriggerGreaterHealSpell 30334@setvar! hpCheckToTriggerMiniEmergencyHealSpell 60335@setvar! hpCheckToTriggerHealPotion 45336 337### Buffs338@setvar! castBless 0339@setvar! castArchProtection 0340@setvar! castMagicShield 1341@setvar! castReactiveArmor 1342 343if skill "Inscription" >= 50344 @setvar! castBless 1345 @setvar! castArchProtection 1346endif347 348###############349### Edit these cooldowns to match your wizard grimoire350######351@setvar! canYouMakeAMushroom 1352@setvar! cdLightning 20000353@setvar! cdChainLightning 60000354@setvar! cdMagicArrow 20000355@setvar! cdHarm 20000356@setvar! cdFireball 20000357 358@setvar! cdAutoHealTamerPet 15000359 360#### Buff Cooldowns361@setvar! cdMushroom 61000362@setvar! cdMagicShield 61000363@setvar! cdReactiveArmor 61000364@setvar! cdMeditation 10000365@setvar! cdMeditationMini 3000366@setvar! cdKillTarget 60000367 368#### Random cooldowns369@setvar! cdPreventOverheadSpam 2000370@setvar! cdSkinningCheck 1000371@setvar! cdCleansingBrew 125000372@setvar! cdHerdingTimer 4000 373 374#### Mushroom count (I like a lot of shroomies)375@setvar! makeThisManyMushroomsCount 15376@setvar! butOnlyIHaveLessThenThisCount 5377 378#### This will send in pet for out of range targets379@setvar! patrolPetEvenIfLastTargetIsBeyondEightTiles 1380 381// Make sure we have a spell book attached382if findlayer self righthand as item383 // do nothing384elseif findtype "3834" backpack as item385 getlabel item spellBookDesc386 if "blessed" in spellBookDesc387 @ignore item388 else389 dclick item 390 endif391else 392 overhead "No book bro!" 34393endif394 395##################################################################396# 397# Hopefully you do not have to edit after this :)398#399##################################################################400 401@setvar! jaseDebugMode 0402if dead 403 overhead "Rip" 34404 for 10405 if gumpexists 2957810225406 gumpresponse 1 2957810225407 break408 endif 409 wait 500410 endfor411 replay412endif413 414if counttype "gold coin" backpack as total415 if diffweight < 10 and 10000 < total416 overhead "Warning: {{total}} gold and no weight!" 34417 endif418endif419 420if weight >= maxweight and not findbuff "strength" and automaticallyDrinkStrPotIfOverWeight = 1 and findtype "white potion" backpack as pot421 dclick pot422 wait 200423endif424 425if not timerexists skinningCheckTimer426 settimer skinningCheckTimer cdSkinningCheck427endif428 429if not timerexists retryBasedOnTargetNotSeenTimer430 settimer retryBasedOnTargetNotSeenTimer cdRetryBasedOnTargetNotSeen431endif432 433if automaticallySkinCorpses = 1 and findtype "corpse" ground -1 -1 3 as jorpse434 if findtype "Elven Spellblade" backpack and timer skinningCheckTimer >= cdSkinningCheck 435 while not targetexists 436 useskill 'forensicevaluation'437 endwhile438 if targetexists beneficial or targetexists neutral439 hotkey "Target Self"440 wait minimumWaitForPing441 settimer skinningCheckTimer 0442 @ignore jorpse443 endif444 if insysmsg "You must wait"445 // Wait message446 overhead 'You must wait..' 34447 wait 500448 replay449 endif450 endif 451endif452 453// Setting current necro symbols - checks again it the attack loop454@setvar! necroSymbols 12455if gumpexists 622436516 and skill "Necromancy" >= 50456 if ingump "12/" 622436516457 @setvar! necroSymbols 12458 elseif ingump "13/" 622436516459 @setvar! necroSymbols 13460 elseif ingump "14/" 622436516461 @setvar! necroSymbols 14462 elseif ingump "15/" 622436516463 @setvar! necroSymbols 15464 elseif ingump "16/" 622436516465 @setvar! necroSymbols 16466 elseif ingump "17/" 622436516467 @setvar! necroSymbols 17468 elseif ingump "18/" 622436516469 @setvar! necroSymbols 18470 elseif ingump "19/" 622436516471 @setvar! necroSymbols 19472 elseif ingump "20/" 622436516473 @setvar! necroSymbols 20474 elseif ingump "21/" 622436516475 @setvar! necroSymbols 21476 elseif ingump "11/" 622436516477 @setvar! necroSymbols 11478 elseif ingump "10/" 622436516479 @setvar! necroSymbols 10480 elseif ingump "9/" 622436516481 @setvar! necroSymbols 9482 elseif ingump "8/" 622436516483 @setvar! necroSymbols 8484 elseif ingump "7/" 622436516485 @setvar! necroSymbols 7486 elseif ingump "6/" 622436516487 @setvar! necroSymbols 6488 elseif ingump "5/" 622436516489 @setvar! necroSymbols 5490 elseif ingump "4/" 622436516491 @setvar! necroSymbols 4492 elseif ingump "3/" 622436516493 @setvar! necroSymbols 3494 elseif ingump "2/" 622436516495 @setvar! necroSymbols 2496 elseif ingump "1/" 622436516497 @setvar! necroSymbols 1498 elseif ingump "0/" 622436516499 @setvar! necroSymbols 0500 endif501endif502 503if not timerexists reactiveArmorTimer504 createtimer reactiveArmorTimer505 settimer reactiveArmorTimer cdMagicShield506endif507 508if not timerexists cleansingBrewTimer509 settimer cleansingBrewTimer cdCleansingBrew510endif511 512if not timerexists magicShieldTimer513 createtimer magicShieldTimer514 settimer magicShieldTimer cdMagicShield515endif516 517if not timerexists magicMushroomTimer518 createtimer magicMushroomTimer519 settimer magicMushroomTimer cdMushroom520endif521 522if not timerexists magicArrowTimer523 createtimer magicArrowTimer524 settimer magicArrowTimer cdMagicArrow525endif526 527if not timerexists lightningTimer528 createtimer lightningTimer529 settimer lightningTimer cdLightning530endif531 532if not timerexists chainLightningTimer533 settimer chainLightningTimer cdChainLightning534endif535 536if not timerexists harmTimer537 createtimer harmTimer538 settimer harmTimer cdHarm539endif540 541if not timerexists autoHealTamerPet542 createtimer autoHealTamerPet543 settimer autoHealTamerPet cdAutoHealTamerPet544endif545 546if not timerexists fireballTimer547 createtimer fireballTimer548 settimer fireballTimer cdFireball549endif550 551if not timerexists evilOmenTimer552 createtimer evilOmenTimer553 settimer evilOmenTimer cdEvilOmen554endif555 556if not timerexists vampiricEmbraceTimer557 createtimer vampiricEmbraceTimer558 settimer vampiricEmbraceTimer cdVampiricEmbrace559endif560 561if not timerexists corpseSkinTimer562 createtimer corpseSkinTimer563 settimer corpseSkinTimer cdCorpseSkin564endif565 566if not timerexists mindRotTimer567 createtimer mindRotTimer568 settimer mindRotTimer cdMindRot569endif570 571if not timerexists meditiationTimer572 createtimer meditiationTimer573 settimer meditiationTimer cdMeditation574endif575 576if not timerexists killTargetTimer577 createtimer killTargetTimer578 settimer killTargetTimer cdKillTarget579endif580 581if not timerexists witherTimer582 createtimer witherTimer583 settimer witherTimer cdWither584endif585 586if not timerexists vengefulSpiritTimer587 createtimer vengefulSpiritTimer588 settimer vengefulSpiritTimer cdVengefulSpirit589endif590 591if not timerexists bloodOathTimer592 createtimer bloodOathTimer593 settimer bloodOathTimer cdBloodOath594endif595 596if not timerexists strangleTimer597 createtimer strangleTimer598 settimer strangleTimer cdStrangle599endif600 601if not timerexists painSpikeTimer602 createtimer painSpikeTimer603 settimer painSpikeTimer cdPainSpike604endif605 606if not timerexists poisonStrikeTimer607 createtimer poisonStrikeTimer608 settimer poisonStrikeTimer cdPoisonStrike609endif610 611if not timerexists preventOverheadSpamTimer612 createtimer preventOverheadSpamTimer613 settimer preventOverheadSpamTimer cdPreventOverheadSpam614endif615 616if not timerexists HerdTimer617 createtimer HerdTimer618 settimer HerdTimer cdHerdingTimer619endif620 621@setvar! cdPreventSpamNecroAbilities 750622if not timerexists preventSpamNecroAbilitiesTimer623 createtimer preventSpamNecroAbilitiesTimer624 settimer preventSpamNecroAbilitiesTimer cdPreventSpamNecroAbilities625endif626 627if not varexist myEarthPet628 @setvar! myEarthPet 0629endif630 631// make sure we have enough symbols to summon (6 for wither + vengful spirit)632if skill "Necromancy" >= 90 and requireWitherBeforeSummons = 1633 while followers < 4 and 6 > necroSymbols634 // we already have vengeful spirit active, skip the check635 if timer vengefulSpiritTimer < cdVengefulSpirit636 break637 endif638 if diffhits >= hpCheckToTriggerGreaterHealSpell639 if targetexists 640 hotkey 'Cancel Current Target'641 endif642 while not targetexists 'beneficial'643 if diffhits >= hpCheckToTriggerMiniEmergencyHealSpell644 cast 'Heal'645 else646 cast 'Greater Heal' 647 endif648 wait 50649 if hp = maxhp650 hotkey '> Interrupt'651 break652 endif653 endwhile654 if targetexists 'beneficial'655 hotkey 'Target Self'656 endif657 endif658 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam659 overhead "waiting for symbols" 88660 settimer preventOverheadSpamTimer 0661 endif662 if gumpexists 622436516 and skill "Necromancy" >= 50663 if ingump "12/" 622436516664 @setvar! necroSymbols 12665 elseif ingump "13/" 622436516666 @setvar! necroSymbols 13667 elseif ingump "14/" 622436516668 @setvar! necroSymbols 14669 elseif ingump "15/" 622436516670 @setvar! necroSymbols 15671 elseif ingump "16/" 622436516672 @setvar! necroSymbols 16673 elseif ingump "17/" 622436516674 @setvar! necroSymbols 17675 elseif ingump "18/" 622436516676 @setvar! necroSymbols 18677 elseif ingump "19/" 622436516678 @setvar! necroSymbols 19679 elseif ingump "20/" 622436516680 @setvar! necroSymbols 20681 elseif ingump "21/" 622436516682 @setvar! necroSymbols 21683 elseif ingump "11/" 622436516684 @setvar! necroSymbols 11685 elseif ingump "10/" 622436516686 @setvar! necroSymbols 10687 elseif ingump "9/" 622436516688 @setvar! necroSymbols 9689 elseif ingump "8/" 622436516690 @setvar! necroSymbols 8691 elseif ingump "7/" 622436516692 @setvar! necroSymbols 7693 elseif ingump "6/" 622436516694 @setvar! necroSymbols 6695 elseif ingump "5/" 622436516696 @setvar! necroSymbols 5697 elseif ingump "4/" 622436516698 @setvar! necroSymbols 4699 elseif ingump "3/" 622436516700 @setvar! necroSymbols 3701 elseif ingump "2/" 622436516702 @setvar! necroSymbols 2703 elseif ingump "1/" 622436516704 @setvar! necroSymbols 1705 elseif ingump "0/" 622436516706 @setvar! necroSymbols 0707 endif708 endif709 endwhile710endif711 712 713if diffhits >= hpCheckToTriggerGreaterHealSpell714 if targetexists 715 hotkey 'Cancel Current Target'716 endif717 hotkey 'all guard me'718 while not targetexists 'beneficial'719 if diffhits >= hpCheckToTriggerMiniEmergencyHealSpell720 cast 'Heal'721 else722 cast 'Greater Heal' 723 endif724 wait 50725 if hp = maxhp726 hotkey '> Interrupt'727 break728 endif729 endwhile730 if targetexists 'beneficial'731 hotkey "Target Self"732 endif733 replay734endif735 736if renamePets = 0737 clearlist petNameList738endif739 740if castSummonFireElementalCount > 0 and castSummonLichCount > 0741 overhead "I am not going to do that. Update lich/fire to one or the other." 34742 sysmsg "I am not going to do that. Update lich/fire to one or the other." 34743 wait 2000744 replay745elseif castSummonEarthElementalCount > 0 and castSummonMummyCount > 0746 overhead "I am not going to do that. Update earth/mummy to one or the other." 34747 sysmsg "I am not going to do that. Update earth/mummy to one or the other." 34748 wait 2000749 replay750elseif castSummonDemonCount > 0 and castSummonThrallCount > 0751 overhead "I am not going to do that. Update demon/thrall to one or the other." 34752 sysmsg "I am not going to do that. Update demon/thrall to one or the other." 34753 wait 2000754 replay755elseif castSummonAirCount > 0 and castSummonFiendCount > 0756 overhead "I am not going to do that. Update air/fiend to one or the other." 34757 sysmsg "I am not going to do that. Update air/fiend to one or the other." 34758 wait 2000759 replay760elseif castSummonWaterCount > 0 and castSummonRagWitchCount > 0761 overhead "I am not going to do that. Update water/witch to one or the other." 34762 sysmsg "I am not going to do that. Update water/witch to one or the other." 34763 wait 2000764 replay765endif766 767if not gumpexists 622436516 and skill "Necromancy" >= 50768 say '[NecromancyHotbar'769 wait 500770endif771 772if not varexist myMainTankPet773 @setvar! myMainTankPet 0774endif775 776if not varexist fireOne777 @setvar! fireOne 0778endif779 780if not varexist fireTwo781 @setvar! fireTwo 0782endif783 784if not varexist earthOne785 @setvar! earthOne 0786endif787 788if not varexist earthTwo789 @setvar! earthTwo 0790endif791 792if not varexist demonOne793 @setvar! demonOne 0794endif795 796if not varexist demonTwo797 @setvar! demonTwo 0798endif799 800if not varexist airOne801 @setvar! airOne 0802endif803 804if not varexist airTwo805 @setvar! airTwo 0806endif807 808if not varexist waterOne809 @setvar! waterOne 0810endif811 812if not varexist waterTwo813 @setvar! waterTwo 0814endif815 816if not varexist evOne817 @setvar! evOne 0818endif819 820if not varexist bsOne821 @setvar! bsOne 0822endif823 824removelist summonList825createlist summonList826 827if followers = 0828 @setvar! followCount 0829elseif followers = 1830 @setvar! followCount 1831elseif followers = 2832 @setvar! followCount 2833elseif followers = 3834 @setvar! followCount 3835elseif followers = 4836 @setvar! followCount 4837elseif followers = 5838 @setvar! followCount 5839endif840 841if castSummonEarthElementalCount > 0 or castSummonMummyCount > 0842 if dead earthOne or not find earthOne ground -1 -1 18843 if followers < 4844 pushlist summonList "Earth Elemental"845 @setvar! earthOne 1846 endif847 endif848 if castSummonEarthElementalCount > 1 or castSummonMummyCount > 1849 if dead earthTwo or not find earthTwo ground -1 -1 18850 if followers < 4851 pushlist summonList "Earth Elemental"852 @setvar! earthTwo 1853 endif854 endif855 endif856endif857 858if castSummonFireElementalCount > 0 or castSummonLichCount > 0859 if dead fireOne or not find fireOne ground -1 -1 18860 if followers < 4861 pushlist summonList "Fire Elemental"862 @setvar! fireOne 1863 endif864 endif865 if castSummonFireElementalCount > 1 or castSummonLichCount > 1866 if dead fireTwo or not find fireTwo ground -1 -1 18867 if followers < 4868 pushlist summonList "Fire Elemental"869 @setvar! fireTwo 1870 endif871 endif872 endif873endif874 875if castSummonDemonCount > 0 or castSummonThrallCount > 0876 if dead demonOne or not find demonOne ground -1 -1 18877 if followers < 4878 pushlist summonList "Summon Daemon"879 @setvar! demonOne 1880 endif881 endif882 if castSummonDemonCount > 1 or castSummonThrallCount > 1883 if dead demonTwo or not find demonTwo ground -1 -1 18884 if followers < 4885 pushlist summonList "Summon Daemon"886 @setvar! demonTwo 1887 endif888 endif889 endif890endif891 892if castSummonAirCount > 0 or castSummonFiendCount > 0893 if dead airOne or not find airOne ground -1 -1 18894 if followers < 4895 pushlist summonList "Air Elemental"896 @setvar! airOne 1897 endif898 endif899 if castSummonAirCount > 1 or castSummonFiendCount > 1900 if dead airTwo or not find airTwo ground -1 -1 18901 if followers < 4902 pushlist summonList "Air Elemental"903 @setvar! airTwo 1904 endif905 endif906 endif907endif908 909if castSummonWaterCount > 0 or castSummonRagWitchCount > 0910 if dead waterOne or not find waterOne ground -1 -1 18911 if followers < 4912 pushlist summonList "Water Elemental"913 @setvar! waterOne 1914 endif915 endif916 if castSummonWaterCount > 1 or castSummonRagWitchCount > 1917 if dead waterTwo or not find waterTwo ground -1 -1 18918 if followers < 4919 pushlist summonList "Water Elemental"920 @setvar! waterTwo 1921 endif922 endif923 endif924endif925 926if castEnergyVortexCount > 0 or castJackalSpiritCount > 0927 if dead evOne or not find evOne ground -1 -1 18928 if followers < 5929 pushlist summonList "Energy Vortex"930 @setvar! evOne 1931 endif932 endif933endif934 935if castBladeSpiritCount > 0 or castSkeletalHuskCount > 0936 if dead bsOne or not find bsOne ground -1 -1 18937 if followers < 5938 pushlist summonList "Blade Spirits"939 @setvar! bsOne 1940 endif941 endif942endif943 944if followers < 5945 if castSummonCreatureCount = 1946 pushlist summonList "Summ. Creature"947 elseif castSummonCreatureCount = 2948 pushlist summonList "Summ. Creature"949 pushlist summonList "Summ. Creature"950 elseif castSummonCreatureCount = 3951 pushlist summonList "Summ. Creature"952 pushlist summonList "Summ. Creature"953 pushlist summonList "Summ. Creature"954 elseif castSummonCreatureCount = 4955 pushlist summonList "Summ. Creature"956 pushlist summonList "Summ. Creature"957 pushlist summonList "Summ. Creature"958 pushlist summonList "Summ. Creature"959 elseif castSummonCreatureCount = 5960 pushlist summonList "Summ. Creature"961 pushlist summonList "Summ. Creature"962 pushlist summonList "Summ. Creature"963 pushlist summonList "Summ. Creature"964 pushlist summonList "Summ. Creature"965 endif966 while targetexists 967 hotkey 'Cancel Current Target'968 wait 200969 endwhile970endif971 972foreach summon in summonList973 if followers < 5974 overhead "Casting Summon: {{summon}}" 88975 while mana < 50976 if timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy977 overhead "Eating shrooms" 66978 dclick mushy979 @setvar! jase_shrooms mushy980 wait 200981 if insysmsg "You consume a magic mushroom and restore some mana."982 settimer magicMushroomTimer 0 983 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"984 settimer magicMushroomTimer 30000985 endif986 endif987 if diffhits >= hpCheckToTriggerGreaterHealSpell988 replay989 endif990 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam991 overhead "waiting for mana" 88992 settimer preventOverheadSpamTimer 0993 endif994 if not findbuff "Actively Meditating"995 useskill "meditation"996 endif997 wait 200998 endwhile999 1000 @setvar! needVengefulSpirit 01001 1002 if summon = "Earth Elemental" and castSummonMummyCount > 01003 @setvar! needVengefulSpirit 11004 elseif summon = "Fire Elemental" and castSummonLichCount > 01005 @setvar! needVengefulSpirit 11006 elseif summon = "Summon Daemon" and castSummonThrallCount > 01007 @setvar! needVengefulSpirit 11008 elseif summon = "Air Elemental" and castSummonFiendCount > 01009 @setvar! needVengefulSpirit 11010 elseif summon = "Water Elemental" and castSummonRagWitchCount > 01011 @setvar! needVengefulSpirit 11012 elseif summon = "Summ. Creature" and skill "Necromancy" >= 501013 @setvar! needVengefulSpirit 11014 elseif summon = "Energy Vortex" and castJackalSpiritCount > 01015 @setvar! needVengefulSpirit 11016 elseif summon = "Blade Spirits" and castSkeletalHuskCount > 01017 @setvar! needVengefulSpirit 11018 elseif timer vengefulSpiritTimer <= cdVengefulSpirit and skill "Necromancy" >= 501019 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1020 overhead "Waiting for spirit to go away" 881021 settimer preventOverheadSpamTimer 01022 endif1023 replay1024 endif1025 1026 if needVengefulSpirit = 11027 if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 501028 yell "[VengefulSpirit"1029 settimer vengefulSpiritTimer 01030 wait 5001031 endif1032 elseif timer vengefulSpiritTimer <= cdVengefulSpirit and skill "Necromancy" >= 501033 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1034 overhead "Waiting for spirit to go away" 881035 settimer preventOverheadSpamTimer 01036 endif1037 replay1038 endif1039 1040 if followers = 01041 @setvar! followCount 01042 elseif followers = 11043 @setvar! followCount 11044 elseif followers = 21045 @setvar! followCount 21046 elseif followers = 31047 @setvar! followCount 31048 elseif followers = 41049 @setvar! followCount 41050 elseif followers = 51051 @setvar! followCount 51052 endif1053 1054 if summon = "Summ. Creature" or summon = "Blade Spirits"1055 // these only take 1 - so keep trying to cast1056 elseif followers >= 41057 // if we already at 4, skip to next summon1058 break1059 endif1060 1061 1062 while followers = followCount1063 if followers = 51064 break1065 endif1066 cast summon1067 wft 5001068 if targetexists 1069 hotkey "Target Self"1070 wait 2001071 endif1072 if timer witherTimer >= cdWither and skill "Necromancy" >= 951073 yell "[Wither"1074 settimer witherTimer 01075 endif1076 if diffhits >= hpCheckToTriggerGreaterHealSpell1077 if targetexists 1078 hotkey "Cancel Current target"1079 endif1080 overhead "Need a heal!"1081 hotkey '> Interrupt'1082 while diffhits >= hpCheckToTriggerGreaterHealSpell and mana > 121083 while not targetexists beneficial1084 if diffhits >= hpCheckToTriggerMiniEmergencyHealSpell1085 cast 'Heal'1086 else1087 cast 'Greater Heal' 1088 endif1089 wait 501090 endwhile1091 while targetexists beneficial1092 hotkey "Target Self"1093 wait 501094 endwhile1095 endwhile1096 endif1097 endwhile1098 wait 2001099 1100 @setvar! myFreshlySummonedPet 01101 1102 // 158 - an ancient mummy1103 // 14 - an earth elemental1104 if summon = "Earth Elemental" and findtype 158|14 ground -1 -1 2 as myPet1105 @setvar! myFreshlySummonedPet myPet1106 if earthOne = 11107 @setvar! earthOne myPet1108 elseif earthTwo = 11109 @setvar! earthTwo myPet1110 endif1111 // 24 - a lich1112 // 15 - a fire elemental1113 elseif summon = "Fire Elemental" and findtype 24|15 ground -1 -1 2 as myPet1114 @setvar! myFreshlySummonedPet myPet1115 if fireOne = 11116 @setvar! fireOne myPet1117 elseif fireTwo = 11118 @setvar! fireTwo myPet1119 endif1120 // 9 - a deamon1121 // 722 - a vampire thrall1122 elseif summon = "Summon Daemon" and findtype 9|722 ground -1 -1 2 as myPet1123 @setvar! myFreshlySummonedPet myPet1124 if demonOne = 11125 @setvar! demonOne myPet1126 elseif demonTwo = 11127 @setvar! demonTwo myPet1128 endif1129 // 16 - water elemental1130 // 740 - a rage witch1131 elseif summon = "Water Elemental" and findtype 16|740 ground -1 -1 2 as myPet1132 @setvar! myFreshlySummonedPet myPet1133 if waterOne = 11134 @setvar! waterOne myPet1135 elseif waterTwo = 11136 @setvar! waterTwo myPet1137 endif1138 // 13 - air elemental1139 // 306 - a skeletal fiend1140 elseif summon = "Air Elemental" and findtype 13|306 ground -1 -1 2 as myPet1141 @setvar! myFreshlySummonedPet myPet1142 if airOne = 11143 @setvar! airOne myPet1144 elseif airTwo = 11145 @setvar! airTwo myPet1146 endif1147 elseif summon = "Summ. Creature"1148 // TODO: gather all summon creature types1149 1150 // 13 - an energy vortex1151 // 391 - a jackal spirit1152 elseif summon = "Energy Vortex" and findtype 13|391 ground -1 -1 2 as myPet1153 @setvar! myFreshlySummonedPet myPet1154 if evOne = 11155 @setvar! evOne myPet1156 endif1157 // 574 - a blade spirit1158 // 309 - a skeletal husk1159 elseif summon = "Blade Spirits" and findtype 574|309 ground -1 -1 2 as myPet1160 @setvar! myFreshlySummonedPet myPet1161 if bsOne = 11162 @setvar! bsOne myPet1163 endif1164 endif1165 1166 if summon = "Summ. Creature"1167 overhead "Creature summoned!" 881168 elseif myFreshlySummonedPet = 01169 overhead "Not found" 881170 else1171 if noto myFreshlySummonedPet = "friend" and list petNameList > 01172 overhead "Renaming..." 771173 foreach petName in petNameList1174 overhead "Rename to {{petName}}..." 66 myFreshlySummonedPet1175 rename myFreshlySummonedPet petName1176 wait 2001177 if insysmsg "That name is unacceptable."1178 overhead "Unable to name pet: {{petName}}" 341179 sysmsg "Unable to name pet: {{petName}}" 341180 endif1181 break1182 endfor1183 poplist petNameList "front"1184 endif1185 overhead "New Pet: {{summon}}" 88 myFreshlySummonedPet1186 if summon = "Energy Vortex" or summon = "Blade Spirits"1187 // do nothing1188 elseif skill "herding" > 01189 // guard1190 menu myFreshlySummonedPet 41191 else1192 // guard1193 menu myFreshlySummonedPet 31194 endif1195 @ignore myFreshlySummonedPet1196 endif1197 wait 5001198 else1199 break1200 endif1201endfor1202 1203if dead myMainTankPet1204 if not dead earthOne1205 @setvar! myMainTankPet earthOne1206 elseif not dead earthTwo1207 @setvar! myMainTankPet earthTwo1208 elseif not dead waterOne1209 @setvar! myMainTankPet waterOne1210 elseif not dead waterTwo1211 @setvar! myMainTankPet waterTwo1212 elseif not dead demonOne1213 @setvar! myMainTankPet demonOne1214 elseif not dead demonTwo1215 @setvar! myMainTankPet demonTwo1216 elseif not dead fireOne1217 @setvar! myMainTankPet fireOne1218 elseif not dead fireTwo1219 @setvar! myMainTankPet fireTwo1220 elseif not dead airOne1221 @setvar! myMainTankPet airOne1222 elseif not dead airTwo1223 @setvar! myMainTankPet airTwo1224 endif1225endif1226 1227if not varexist lastCannotBeSeen1228 @setvar! lastCannotBeSeen 01229endif1230 1231if lastCannotBeSeen != 0 and dead lastCannotBeSeen1232 @setvar! lastCannotBeSeen 01233 @setvar! lastCannotBeSeenLoopIndex 01234endif1235 1236if warmode "on"1237 # Eat food if we got it1238 if not findbuff "food" and findtype "tray" backpack as jood1239 dclick jood1240 wait 2001241 endif1242 1243 if targetexists harmful1244 hotkey "Cancel current target"1245 endif1246 1247 if useTargetSystem = 01248 say "all kill"1249 wait 2001250 while targetexists 1251 // wait1252 wait 501253 endwhile1254 1255 @setvar myKillTarget lasttarget 1256 elseif useTargetSystem = 11257 hotkey 'Target Closest Non-Friendly Monster'1258 wait 2001259 if insysmsg "No one matching that was found"1260 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1261 overhead "found no one" 341262 settimer preventOverheadSpamTimer 01263 endif1264 if autoBotEnabled = 11265 wait 5001266 replay1267 endif1268 stop1269 elseif not find lasttarget ground -1 -1 101270 1271 @setvar checkForSummons lasttarget 1272 getlabel checkForSummons checkForSummonsDesc1273 1274 if "(summoned" in checkForSummonsDesc or "(bonded" in checkForSummonsDesc or "the battle trainer" in checkForSummonsDesc1275 overhead "� Player pet - IGNORE �" 77 lasttarget1276 while not targetexists 1277 hotkey 'Add Target To: IgnoreMobs'1278 wait 2001279 endwhile1280 target myKillTarget 1281 replay1282 endif 1283 1284 overhead "� � OUT OF RANGE � �" 88 lasttarget1285 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1286 overhead "Move closer, more then 8 tiles away" 341287 settimer preventOverheadSpamTimer 01288 endif1289 if autoBotEnabled = 11290 wait 5001291 replay1292 endif1293 stop1294 else1295 1296 @setvar checkForSummons lasttarget 1297 getlabel checkForSummons checkForSummonsDesc1298 1299 if "(summoned" in checkForSummonsDesc or "(bonded" in checkForSummonsDesc or "the battle trainer" in checkForSummonsDesc1300 overhead "� Player pet - IGNORE �" 77 lasttarget1301 while not targetexists 1302 hotkey 'Add Target To: IgnoreMobs'1303 wait 2001304 endwhile1305 target myKillTarget 1306 replay1307 endif 1308 1309 overhead "� �� HERE �� �" 88 lasttarget1310 endif 1311 1312 @setvar myKillTarget lasttarget 1313 1314 elseif useTargetSystem = 21315 1316 // do find type 1317 if jaseDebugMode = 11318 overhead "do find type"1319 endif1320 1321 @setvar! myFindTypeMob 01322 1323 if findtype 54|1|141|34|843|1081|44|42|68|88|28|159|11|631|612|281|280|313|385|21|727|689|735|74|400|732|24|776|39|400|215|717|51|716|14|12|60|37|37|21|155|14|138|787|787|395|79|259|783|782|781|58|715|738|727|1419|1504|310|99|113|214|736|204|158|29|75|9|59|61|16|303|306|30|241|730|393|17|314|48|21|721|53|42|1069|287|59|58|401|16|778|715|47|725|169|317|213|384|373|734|23|27|25|705|728|37|779|775|173|92|98|80|388|98|287|302|73|720|252|8|392|9|14|319|4|386|22|9|16|400|400|401|401|401|401|49|96|8|315|303|309|386|169|37|777|59|718|61|718|9|104|266|12|60|12|60|393|721|31|400|401|12|60|778|393|251|12|60|37|826|154|264|39|9|128|176|374|738|169|315|393|776|734|317|13|720|225|305|401|131|94|93|244|16|318|392|393|310|372|309|49|130|83|130|753|59|114|116|830|26|778|400|401|26|81|48|732|779|723|4|387|150|334|385|261|1069|390|304|379|307|729|384|160|74|400|400|400|9|4|784|400|400|400|400|401|4|391|214|13|724|206|16|293|40|43|24|24|285|705|199|199|829|256|160|573|259|400|776|263|375|9|241|39|39|206|202|380|13|30|8|51|4|154|16|312|79|148|401|204|1069|73|748|86|85|87|86|782|781|400|401|401|400|401|400|400|401|401|401|401|401|400|789|316|401|120|832|108|396|393|401|401|757|401|400|401|756|401|763|730|716|16|16|787|740|3|401|75|9|59|400|401|401|401|401|400|400|401|401|400|400|401|21|970|92|16|270|970|400|401|401|401|37|270|37|1419|1504|251|315|51|741|37|169|717|740|715|14|74|206|242|778|739|776|16|51|304|3|300|29|382|104|306|309|57|50|56|302|59|61|1503|24|14|13|51|252|31|400|390|23|27|400|400|704|689|383|25|293|371|21|705|30|36|8|1419|1504|721|12|60|736|788|69|71|738|72|70|780|242|400|37|737|199|401|400|401|722|317|258|229|300|380|22|59|61|15|42|45|394|1419|1504|47|97|47|285|65|225|73|30|382|739|743|62|733|17|80|18|55|41|317|81|215|31|24|35|400|225|30|3|390|72|9|384|41|58|400|400|119 ground -1 -1 2 as daklue1324 @setvar! myFindTypeMob daklue1325 getlabel myFindTypeMob helperDesc1326 overhead "� �� HERE �� �" 88 myFindTypeMob 1327 1328 if jaseDebugMode = 11329 overhead "� block 1 {{helperDesc}}" 88 1330 hotkey "Get InfoGump"1331 wft 5001332 target myFindTypeMob1333 endif1334 1335 elseif findtype 54|1|141|34|843|1081|44|42|68|88|28|159|11|631|612|281|280|313|385|21|727|689|735|74|400|732|24|776|39|400|215|717|51|716|14|12|60|37|37|21|155|14|138|787|787|395|79|259|783|782|781|58|715|738|727|1419|1504|310|99|113|214|736|204|158|29|75|9|59|61|16|303|306|30|241|730|393|17|314|48|21|721|53|42|1069|287|59|58|401|16|778|715|47|725|169|317|213|384|373|734|23|27|25|705|728|37|779|775|173|92|98|80|388|98|287|302|73|720|252|8|392|9|14|319|4|386|22|9|16|400|400|401|401|401|401|49|96|8|315|303|309|386|169|37|777|59|718|61|718|9|104|266|12|60|12|60|393|721|31|400|401|12|60|778|393|251|12|60|37|826|154|264|39|9|128|176|374|738|169|315|393|776|734|317|13|720|225|305|401|131|94|93|244|16|318|392|393|310|372|309|49|130|83|130|753|59|114|116|830|26|778|400|401|26|81|48|732|779|723|4|387|150|334|385|261|1069|390|304|379|307|729|384|160|74|400|400|400|9|4|784|400|400|400|400|401|4|391|214|13|724|206|16|293|40|43|24|24|285|705|199|199|829|256|160|573|259|400|776|263|375|9|241|39|39|206|202|380|13|30|8|51|4|154|16|312|79|148|401|204|1069|73|748|86|85|87|86|782|781|400|401|401|400|401|400|400|401|401|401|401|401|400|789|316|401|120|832|108|396|393|401|401|757|401|400|401|756|401|763|730|716|16|16|787|740|3|401|75|9|59|400|401|401|401|401|400|400|401|401|400|400|401|21|970|92|16|270|970|400|401|401|401|37|270|37|1419|1504|251|315|51|741|37|169|717|740|715|14|74|206|242|778|739|776|16|51|304|3|300|29|382|104|306|309|57|50|56|302|59|61|1503|24|14|13|51|252|31|400|390|23|27|400|400|704|689|383|25|293|371|21|705|30|36|8|1419|1504|721|12|60|736|788|69|71|738|72|70|780|242|400|37|737|199|401|400|401|722|317|258|229|300|380|22|59|61|15|42|45|394|1419|1504|47|97|47|285|65|225|73|30|382|739|743|62|733|17|80|18|55|41|317|81|215|31|24|35|400|225|30|3|390|72|9|384|41|58|400|400|119 ground -1 -1 4 as daklue1336 @setvar! myFindTypeMob daklue1337 getlabel myFindTypeMob helperDesc1338 overhead "� �� HERE �� �" 88 myFindTypeMob1339 if jaseDebugMode = 11340 overhead "� block 2 {{helperDesc}}" 88 1341 hotkey "Get InfoGump"1342 wft 5001343 target myFindTypeMob1344 endif1345 elseif findtype 54|1|141|34|843|1081|44|42|68|88|28|159|11|631|612|281|280|313|385|21|727|689|735|74|400|732|24|776|39|400|215|717|51|716|14|12|60|37|37|21|155|14|138|787|787|395|79|259|783|782|781|58|715|738|727|1419|1504|310|99|113|214|736|204|158|29|75|9|59|61|16|303|306|30|241|730|393|17|314|48|21|721|53|42|1069|287|59|58|401|16|778|715|47|725|169|317|213|384|373|734|23|27|25|705|728|37|779|775|173|92|98|80|388|98|287|302|73|720|252|8|392|9|14|319|4|386|22|9|16|400|400|401|401|401|401|49|96|8|315|303|309|386|169|37|777|59|718|61|718|9|104|266|12|60|12|60|393|721|31|400|401|12|60|778|393|251|12|60|37|826|154|264|39|9|128|176|374|738|169|315|393|776|734|317|13|720|225|305|401|131|94|93|244|16|318|392|393|310|372|309|49|130|83|130|753|59|114|116|830|26|778|400|401|26|81|48|732|779|723|4|387|150|334|385|261|1069|390|304|379|307|729|384|160|74|400|400|400|9|4|784|400|400|400|400|401|4|391|214|13|724|206|16|293|40|43|24|24|285|705|199|199|829|256|160|573|259|400|776|263|375|9|241|39|39|206|202|380|13|30|8|51|4|154|16|312|79|148|401|204|1069|73|748|86|85|87|86|782|781|400|401|401|400|401|400|400|401|401|401|401|401|400|789|316|401|120|832|108|396|393|401|401|757|401|400|401|756|401|763|730|716|16|16|787|740|3|401|75|9|59|400|401|401|401|401|400|400|401|401|400|400|401|21|970|92|16|270|970|400|401|401|401|37|270|37|1419|1504|251|315|51|741|37|169|717|740|715|14|74|206|242|778|739|776|16|51|304|3|300|29|382|104|306|309|57|50|56|302|59|61|1503|24|14|13|51|252|31|400|390|23|27|400|400|704|689|383|25|293|371|21|705|30|36|8|1419|1504|721|12|60|736|788|69|71|738|72|70|780|242|400|37|737|199|401|400|401|722|317|258|229|300|380|22|59|61|15|42|45|394|1419|1504|47|97|47|285|65|225|73|30|382|739|743|62|733|17|80|18|55|41|317|81|215|31|24|35|400|225|30|3|390|72|9|384|41|58|400|400|119 ground -1 -1 10 as daklue1346 @setvar! myFindTypeMob daklue1347 getlabel myFindTypeMob helperDesc1348 overhead "� �� HERE �� �" 88 myFindTypeMob1349 if jaseDebugMode = 11350 overhead "� block 3 {{helperDesc}}" 88 1351 hotkey "Get InfoGump"1352 wft 5001353 target myFindTypeMob1354 endif1355 elseif findtype 54|1|141|34|843|1081|44|42|68|88|28|159|11|631|612|281|280|313|385|21|727|689|735|74|400|732|24|776|39|400|215|717|51|716|14|12|60|37|37|21|155|14|138|787|787|395|79|259|783|782|781|58|715|738|727|1419|1504|310|99|113|214|736|204|158|29|75|9|59|61|16|303|306|30|241|730|393|17|314|48|21|721|53|42|1069|287|59|58|401|16|778|715|47|725|169|317|213|384|373|734|23|27|25|705|728|37|779|775|173|92|98|80|388|98|287|302|73|720|252|8|392|9|14|319|4|386|22|9|16|400|400|401|401|401|401|49|96|8|315|303|309|386|169|37|777|59|718|61|718|9|104|266|12|60|12|60|393|721|31|400|401|12|60|778|393|251|12|60|37|826|154|264|39|9|128|176|374|738|169|315|393|776|734|317|13|720|225|305|401|131|94|93|244|16|318|392|393|310|372|309|49|130|83|130|753|59|114|116|830|26|778|400|401|26|81|48|732|779|723|4|387|150|334|385|261|1069|390|304|379|307|729|384|160|74|400|400|400|9|4|784|400|400|400|400|401|4|391|214|13|724|206|16|293|40|43|24|24|285|705|199|199|829|256|160|573|259|400|776|263|375|9|241|39|39|206|202|380|13|30|8|51|4|154|16|312|79|148|401|204|1069|73|748|86|85|87|86|782|781|400|401|401|400|401|400|400|401|401|401|401|401|400|789|316|401|120|832|108|396|393|401|401|757|401|400|401|756|401|763|730|716|16|16|787|740|3|401|75|9|59|400|401|401|401|401|400|400|401|401|400|400|401|21|970|92|16|270|970|400|401|401|401|37|270|37|1419|1504|251|315|51|741|37|169|717|740|715|14|74|206|242|778|739|776|16|51|304|3|300|29|382|104|306|309|57|50|56|302|59|61|1503|24|14|13|51|252|31|400|390|23|27|400|400|704|689|383|25|293|371|21|705|30|36|8|1419|1504|721|12|60|736|788|69|71|738|72|70|780|242|400|37|737|199|401|400|401|722|317|258|229|300|380|22|59|61|15|42|45|394|1419|1504|47|97|47|285|65|225|73|30|382|739|743|62|733|17|80|18|55|41|317|81|215|31|24|35|400|225|30|3|390|72|9|384|41|58|400|400|119 ground -1 -1 12 as daklue1356 @setvar! myFindTypeMob daklue1357 overhead "� � OUT OF RANGE � �" 88 daklue1358 getlabel daklue helperDesc1359 if jaseDebugMode = 11360 overhead "� block 4 {{helperDesc}}" 88 1361 hotkey "Get InfoGump"1362 wft 5001363 target myFindTypeMob1364 endif1365 if "(summoned" in helperDesc or "(bonded" in helperDesc or "(tamed" in helperDesc or "the battle trainer" in helperDesc1366 overhead "� Player pet - IGNORE �" 77 daklue1367 ignore daklue1368 replay1369 endif 1370 wait 2001371 1372 if patrolPetEvenIfLastTargetIsBeyondEightTiles = 11373 1374 if not timerexists myPatrolPetTimer1375 settimer myPatrolPetTimer 50001376 endif1377 1378 if not varexist myPatrolPet1379 @setvar! myPatrolPet 01380 endif1381 1382 if find myPatrolPet ground -1 -1 101383 // do nothing1384 elseif find earthOne ground -1 -1 101385 @setvar! myPatrolPet earthOne1386 elseif find earthTwo ground -1 -1 101387 @setvar! myPatrolPet earthTwo1388 elseif find fireOne ground -1 -1 101389 @setvar! myPatrolPet fireOne1390 elseif find fireTwo ground -1 -1 101391 @setvar! myPatrolPet fireTwo1392 elseif find demonOne ground -1 -1 101393 @setvar! myPatrolPet demonOne1394 elseif find demonTwo ground -1 -1 101395 @setvar! myPatrolPet demonTwo1396 elseif find airOne ground -1 -1 101397 @setvar! myPatrolPet airOne1398 elseif find airTwo ground -1 -1 101399 @setvar! myPatrolPet airTwo1400 elseif find waterOne ground -1 -1 101401 @setvar! myPatrolPet waterOne1402 elseif find waterTwo ground -1 -1 101403 @setvar! myPatrolPet waterTwo1404 else1405 @setvar! myPatrolPet 01406 endif1407 1408 if myPatrolPet = 01409 // do nothing1410 elseif timer myPatrolPetTimer >= 50001411 overhead "� SEND IN PATROL PET �" 77 myFindTypeMob 1412 if skill "Herding" > 01413 menu myPatrolPet 31414 else1415 menu myPatrolPet 21416 endif1417 wft 5001418 target myFindTypeMob1419 settimer myPatrolPetTimer 01420 endif1421 1422 endif 1423 1424 replay1425 else1426 if jaseDebugMode = 11427 overhead "� block 5" 88 1428 endif1429 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1430 overhead "Found type found no one" 341431 settimer preventOverheadSpamTimer 01432 endif1433 wait 2001434 replay1435 endif1436 1437 if myFindTypeMob = 01438 wait 200 1439 replay1440 elseif dead myFindTypeMob1441 wait 200 1442 replay1443 else1444 getlabel myFindTypeMob checkForSummonsDesc1445 overhead "Found: {{checkForSummonsDesc}}" 88 myFindTypeMob1446 1447 if "(summoned" in checkForSummonsDesc or "(bonded" in checkForSummonsDesc or "(tamed" in checkForSummonsDesc or "the battle trainer" in checkForSummonsDesc1448 overhead "� Player pet - IGNORE �" 77 myFindTypeMob1449 @ignore myFindTypeMob1450 replay1451 endif 1452 1453 if noto myFindTypeMob = "friend"1454 @ignore myFindTypeMob1455 replay1456 elseif noto myFindTypeMob = "innocent"1457 @ignore myFindTypeMob1458 replay1459 elseif noto myFindTypeMob = "hostile" or noto myFindTypeMob = "criminal"1460 //overhead "Gray" 881461 elseif noto myFindTypeMob = "murderer"1462 //overhead "Red" 341463 elseif noto myFindTypeMob = "enemy"1464 //overhead "Orange" 341465 elseif noto daklue = "invulnerable"1466 @ignore myFindTypeMob1467 replay1468 else1469 overhead "Unknown" 341470 wait 5001471 @ignore myFindTypeMob1472 replay1473 endif1474 1475 @setvar! myKillTarget myFindTypeMob1476 endif1477 elseif useTargetSystem = 31478 1479 hotkey 'Next Non-Friendly Monster Target'1480 wait 2001481 if insysmsg "No one matching that was found"1482 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1483 overhead "found no one" 341484 settimer preventOverheadSpamTimer 01485 endif1486 if autoBotEnabled = 11487 wait 5001488 replay1489 endif1490 stop1491 else1492 1493 @setvar checkForSummons lasttarget 1494 getlabel checkForSummons checkForSummonsDesc1495 1496 if "(summoned" in checkForSummonsDesc or "(bonded" in checkForSummonsDesc or "the battle trainer" in checkForSummonsDesc1497 overhead "� Player pet - IGNORE �" 77 lasttarget1498 replay1499 endif 1500 1501 if find lasttarget ground -1 -1 81502 // we ready1503 overhead "� �� HERE �� �" 88 lasttarget 1504 elseif find lasttarget ground -1 -1 121505 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1506 overhead "Move closer, more then 8 tiles away" 341507 settimer preventOverheadSpamTimer 01508 endif1509 overhead "� � OUT OF RANGE � �" 88 lasttarget1510 1511 if patrolPetEvenIfLastTargetIsBeyondEightTiles = 11512 1513 if not timerexists myPatrolPetTimer1514 settimer myPatrolPetTimer 50001515 endif1516 1517 if not varexist myPatrolPet1518 @setvar! myPatrolPet 01519 endif1520 1521 if find myPatrolPet ground -1 -1 101522 // do nothing1523 elseif find earthOne ground -1 -1 101524 @setvar! myPatrolPet earthOne1525 elseif find earthTwo ground -1 -1 101526 @setvar! myPatrolPet earthTwo1527 elseif find fireOne ground -1 -1 101528 @setvar! myPatrolPet fireOne1529 elseif find fireTwo ground -1 -1 101530 @setvar! myPatrolPet fireTwo1531 elseif find demonOne ground -1 -1 101532 @setvar! myPatrolPet demonOne1533 elseif find demonTwo ground -1 -1 101534 @setvar! myPatrolPet demonTwo1535 elseif find airOne ground -1 -1 101536 @setvar! myPatrolPet airOne1537 elseif find airTwo ground -1 -1 101538 @setvar! myPatrolPet airTwo1539 elseif find waterOne ground -1 -1 101540 @setvar! myPatrolPet waterOne1541 elseif find waterTwo ground -1 -1 101542 @setvar! myPatrolPet waterTwo1543 else1544 @setvar! myPatrolPet 01545 endif1546 1547 if myPatrolPet = 01548 // do nothing1549 elseif timer myPatrolPetTimer >= 50001550 overhead "� SEND IN PATROL PET �" 77 myFindTypeMob 1551 if skill "Herding" > 01552 menu myPatrolPet 31553 else1554 menu myPatrolPet 21555 endif1556 wft 5001557 target lasttarget1558 settimer myPatrolPetTimer 01559 endif1560 1561 endif 1562 1563 if autoBotEnabled = 11564 wait 5001565 replay1566 endif1567 stop1568 else1569 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1570 overhead "Next mob too far" 341571 settimer preventOverheadSpamTimer 01572 endif1573 wait 2001574 replay1575 endif1576 endif 1577 1578 @setvar myKillTarget lasttarget 1579 endif1580 1581 1582 if not varexist myPreviousKillTarget1583 @setvar myPreviousKillTarget 0 1584 endif1585 1586 getlabel myKillTarget desc1587 overhead desc1588 1589 if "(summoned" in desc or "(bonded" in desc or "(tame" in desc or "the battle trainer" in desc1590 overhead "� Player pet - IGNORE �" 77 lasttarget1591 while not targetexists 1592 hotkey 'Add Target To: IgnoreMobs'1593 wait 2001594 endwhile1595 target myKillTarget 1596 replay1597 endif 1598 1599 if not varexist myEarthPet or dead myEarthPet1600 if not dead earthOne1601 @setvar! myEarthPet earthOne1602 elseif not dead earthTwo1603 @setvar! myEarthPet earthTwo1604 endif1605 endif1606 1607 if tamerModeEngaged = 11608 // jaseTankPet patrol maybe1609 overhead "We are a tamer"1610 elseif find myEarthPet ground -1 -1 121611 menu myEarthPet 21612 wft 5001613 target myKillTarget1614 wait 2001615 if insysmsg "Target cannot be seen." 1616 if lastCannotBeSeen = 01617 @setvar! lastCannotBeSeen myKillTarget1618 endif1619 else1620 @setvar! lastCannotBeSeen 01621 endif1622 endif1623 1624 if diffhits >= hpCheckToTriggerGreaterHealSpell and mana > 121625 while not targetexists beneficial1626 if diffhits >= hpCheckToTriggerMiniEmergencyHealSpell1627 cast 'Heal'1628 else1629 cast 'Greater Heal' 1630 endif1631 wait 501632 if hp = maxhp1633 hotkey '> Interrupt'1634 break1635 endif1636 endwhile1637 if targetexists beneficial1638 hotkey "Target Self"1639 endif1640 elseif castArchProtection = 1 and not findbuff "protection" and followers >= 4 1641 while not targetexists1642 cast 'Arch Protection'1643 wait 501644 if diffhits >= hpCheckToTriggerGreaterHealSpell1645 hotkey '> Interrupt'1646 break1647 endif1648 endwhile1649 if targetexists1650 target self1651 endif1652 elseif castBless = 1 and str <= 100 and followers >= 4 1653 while not targetexists beneficial1654 cast 'Bless'1655 wait 501656 if diffhits >= hpCheckToTriggerGreaterHealSpell1657 hotkey '> Interrupt'1658 break1659 endif1660 endwhile1661 if targetexists beneficial1662 target self1663 endif1664 endif1665 1666 if not listexists myCursedTargets1667 createlist myCursedTargets1668 endif1669 1670 if not listexists myManaDrainTargets1671 createlist myManaDrainTargets1672 endif1673 1674 if not listexists myManaVampireTargets1675 createlist myManaVampireTargets1676 endif1677 1678 1679 if not varexist lastCannotBeSeenLoopIndex1680 @setvar! lastCannotBeSeenLoopIndex 01681 endif1682 1683 1684 if lastCannotBeSeen = myKillTarget1685 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam1686 overhead "Target not seen, waiting.." 341687 settimer preventOverheadSpamTimer 01688 endif1689 wait 2001690 //overhead "{{lastCannotBeSeenLoopIndex}} : {{retryBasedOnTargetNotSeenTimer}}"1691 if lastCannotBeSeenLoopIndex = 01692 @setvar! lastCannotBeSeenLoopIndex 11693 endif1694 if timer retryBasedOnTargetNotSeenTimer >= cdRetryBasedOnTargetNotSeen1695 settimer retryBasedOnTargetNotSeenTimer 0 1696 @setvar! lastCannotBeSeen 01697 else1698 replay1699 endif1700 1701 elseif find myKillTarget -1 -1 12 as killy1702 if myKillTarget = myPreviousKillTarget1703 // do nothing1704 else1705 1706 // Herding using crook1707 if skill "Herding" > 0 and findtype 3713 backpack as jrook1708 dclick jrook1709 wft 5001710 target killy1711 endif1712 1713 if inlist myManaVampireTargets myKillTarget1714 overhead "We already mana vampired this guy" 881715 // do nothing1716 elseif castManaVampire = 01717 // do nothing 1718 elseif followers >= 4 and mana >= manaReserve1719 while not targetexists harmful1720 if dead myKillTarget1721 hotkey '> Interrupt'1722 break1723 elseif diffhits < 301724 if skill "Herding" > 0 and isHerded = 0 and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook1725 dclick jrook1726 wft 5001727 target myKillTarget1728 settimer meditiationTimer 80001729 @setvar! isHerded 11730 endif1731 cast 'mana vampire'1732 wait 501733 elseif diffhits >= hpCheckToTriggerGreaterHealSpell or dead myKillTarget1734 hotkey '> Interrupt'1735 break1736 endif1737 endwhile1738 if targetexists harmful1739 target myKillTarget1740 pushlist myManaVampireTargets myKillTarget1741 settimer killTargetTimer 01742 wait 5001743 if insysmsg "Target cannot be seen." 1744 @setvar! lastCannotBeSeen myKillTarget1745 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 341746 replay1747 endif1748 endif1749 if targetexists harmful1750 hotkey "Cancel current target"1751 endif1752 endif1753 1754 if inlist myManaDrainTargets myKillTarget1755 overhead "We already mana drained this guy" 881756 // do nothing1757 elseif castManadrain = 01758 // do nothing 1759 elseif followers >= 4 and mana >= manaReserve1760 while not targetexists harmful1761 if dead myKillTarget1762 hotkey '> Interrupt'1763 break1764 elseif diffhits < 301765 if skill "Herding" > 0 and isHerded = 0 and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook1766 dclick jrook1767 wft 5001768 target myKillTarget1769 settimer meditiationTimer 80001770 @setvar! isHerded 11771 endif1772 cast 'mana drain'1773 wait 501774 elseif diffhits >= hpCheckToTriggerGreaterHealSpell or dead myKillTarget1775 hotkey '> Interrupt'1776 break1777 endif1778 endwhile1779 if targetexists harmful1780 target myKillTarget1781 pushlist myManaDrainTargets myKillTarget1782 settimer killTargetTimer 01783 wait 5001784 if insysmsg "Target cannot be seen." 1785 @setvar! lastCannotBeSeen myKillTarget1786 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 341787 replay1788 endif1789 endif1790 if targetexists harmful1791 hotkey "Cancel current target"1792 endif1793 endif1794 1795 if inlist myCursedTargets myKillTarget1796 overhead "We already cursed this guy" 881797 // do nothing1798 elseif castCurse = 01799 // do nothing1800 elseif followers >= 4 and mana >= manaReserve1801 while not targetexists harmful and not dead myKillTarget1802 if diffhits < 301803 if skill "Herding" > 0 and isHerded = 0 and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook1804 dclick jrook1805 wft 5001806 target myKillTarget1807 settimer meditiationTimer 80001808 @setvar! isHerded 11809 endif1810 cast 'Curse'1811 wait 501812 elseif diffhits >= hpCheckToTriggerGreaterHealSpell1813 hotkey '> Interrupt'1814 break1815 endif1816 endwhile1817 if targetexists harmful1818 target myKillTarget1819 pushlist myCursedTargets myKillTarget1820 settimer killTargetTimer 01821 wait 5001822 if insysmsg "Target cannot be seen." 1823 @setvar! lastCannotBeSeen myKillTarget1824 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 341825 replay1826 endif1827 else1828 hotkey '> Interrupt'1829 endif1830 if targetexists harmful1831 hotkey "Cancel current target"1832 endif1833 endif1834 @setvar myPreviousKillTarget myKillTarget1835 endif1836 else1837 overhead "Out of range" 341838 endif1839 1840 1841 clearsysmsg 1842 1843 say "all guard"1844 1845 @setvar! isLethalPoison 01846 @setvar! isHerded 01847 1848 if skill "Peacemaking" >= 50 1849 @setvar! isPeaced 01850 else1851 @setvar! isPeaced 1 1852 endif1853 1854 if skill "Discordance" >= 50 1855 @setvar! isDiscorded 01856 else1857 @setvar! isDiscorded 1 1858 endif1859 1860 while not dead myKillTarget and find myKillTarget -1 -1 12 as killy1861 1862 for 51863 1864 if findbuff "bleed" or findbuff "disease"1865 if timer cleansingBrewTimer >= cdCleansingBrew and findtype 50675 backpack 2935 as jrew1866 dclick jrew1867 wait minimumWaitForPing 1868 settimer cleansingBrewTimer 01869 endif1870 endif1871 1872 // lost a follower1873 if followers < breakSpellCastAndResummonIfLessThanXFollowers1874 replay1875 endif1876 1877 if weight >= maxweight and not findbuff "strength" and automaticallyDrinkStrPotIfOverWeight = 1 and findtype "white potion" backpack as pot1878 dclick pot1879 wait 2001880 endif1881 1882 if dead myKillTarget1883 break1884 elseif insysmsg "Target cannot be seen." 1885 @setvar! lastCannotBeSeen myKillTarget1886 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 341887 replay1888 elseif find myKillTarget -1 -1 12 as killy1889 // do nothing - in range to kill1890 else1891 break1892 endif1893 1894 if skill "Herding" > 0 and isHerded = 0 and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook1895 dclick jrook1896 wft 5001897 target myKillTarget1898 settimer meditiationTimer 80001899 @setvar! isHerded 11900 endif1901 1902 if gumpexists 622436516 and skill "Necromancy" >= 501903 if ingump "12/" 6224365161904 @setvar! necroSymbols 121905 elseif ingump "13/" 6224365161906 @setvar! necroSymbols 131907 elseif ingump "14/" 6224365161908 @setvar! necroSymbols 141909 elseif ingump "15/" 6224365161910 @setvar! necroSymbols 151911 elseif ingump "16/" 6224365161912 @setvar! necroSymbols 161913 elseif ingump "17/" 6224365161914 @setvar! necroSymbols 171915 elseif ingump "18/" 6224365161916 @setvar! necroSymbols 181917 elseif ingump "19/" 6224365161918 @setvar! necroSymbols 191919 elseif ingump "20/" 6224365161920 @setvar! necroSymbols 201921 elseif ingump "21/" 6224365161922 @setvar! necroSymbols 211923 elseif ingump "11/" 6224365161924 @setvar! necroSymbols 111925 elseif ingump "10/" 6224365161926 @setvar! necroSymbols 101927 elseif ingump "9/" 6224365161928 @setvar! necroSymbols 91929 elseif ingump "8/" 6224365161930 @setvar! necroSymbols 81931 elseif ingump "7/" 6224365161932 @setvar! necroSymbols 71933 elseif ingump "6/" 6224365161934 @setvar! necroSymbols 61935 elseif ingump "5/" 6224365161936 @setvar! necroSymbols 51937 elseif ingump "4/" 6224365161938 @setvar! necroSymbols 41939 elseif ingump "3/" 6224365161940 @setvar! necroSymbols 31941 elseif ingump "2/" 6224365161942 @setvar! necroSymbols 21943 elseif ingump "1/" 6224365161944 @setvar! necroSymbols 11945 elseif ingump "0/" 6224365161946 @setvar! necroSymbols 01947 endif1948 endif1949 1950 if skill "Discordance" >= 50 1951 if isDiscorded = 01952 getlabel myKillTarget discordDesc1953 if "discord" in discordDesc1954 @setvar! isDiscorded 11955 elseif timer meditiationTimer >= 11000 1956 useskill 'Discordance'1957 wft 5001958 if insysmsg "What instrument"1959 if findtype "bamboo flute" backpack as inny1960 target inny1961 elseif findtype "tambourine" backpack as inny1962 target inny1963 elseif findtype "drum" backpack as inny1964 target inny1965 elseif findtype "lute" backpack as inny1966 target inny1967 elseif findtype "harp" backpack as inny1968 target inny1969 elseif findtype "lap harp" backpack as inny1970 target inny1971 else1972 overhead "I do not have an inny" 341973 @setvar! isDiscorded 11974 endif1975 wft 5001976 endif1977 if targetexists 1978 target myKillTarget1979 overhead "Discorded" 88 myKillTarget1980 endif1981 settimer meditiationTimer 50001982 endif1983 endif1984 1985 if not findbuff "song of discordance" and timer meditiationTimer >= 110001986 useskill 'Discordance'1987 wft 5001988 if insysmsg "What instrument"1989 if findtype "bamboo flute" backpack as inny1990 target inny1991 elseif findtype "tambourine" backpack as inny1992 target inny1993 elseif findtype "drum" backpack as inny1994 target inny1995 elseif findtype "lute" backpack as inny1996 target inny1997 elseif findtype "harp" backpack as inny1998 target inny1999 elseif findtype "lap harp" backpack as inny2000 target inny2001 else2002 overhead "I do not have an inny" 342003 @setvar! isDiscorded 12004 endif2005 wft 5002006 endif2007 target backpack2008 settimer meditiationTimer 02009 endif 2010 endif2011 2012 if skill "Peacemaking" >= 50 2013 if isPeaced = 02014 getlabel myKillTarget peaceDesc2015 if "pacified" in peaceDesc2016 @setvar! isPeaced 12017 elseif timer meditiationTimer >= 11000 2018 useskill 'Peacemaking'2019 wft 5002020 if insysmsg "What instrument"2021 if findtype "bamboo flute" backpack as inny2022 target inny2023 elseif findtype "tambourine" backpack as inny2024 target inny2025 elseif findtype "drum" backpack as inny2026 target inny2027 elseif findtype "lute" backpack as inny2028 target inny2029 elseif findtype "harp" backpack as inny2030 target inny2031 elseif findtype "lap harp" backpack as inny2032 target inny2033 else2034 overhead "I do not have an inny" 342035 @setvar! isPeaced 12036 endif2037 wft 5002038 endif2039 if targetexists 2040 target myKillTarget2041 overhead "Peacemaed" 88 myKillTarget2042 endif2043 settimer meditiationTimer 50002044 endif2045 endif2046 2047 if not findbuff "song of peacemaking" and timer meditiationTimer >= 110002048 useskill 'Peacemaking'2049 wft 5002050 if insysmsg "What instrument"2051 if findtype "bamboo flute" backpack as inny2052 target inny2053 elseif findtype "tambourine" backpack as inny2054 target inny2055 elseif findtype "drum" backpack as inny2056 target inny2057 elseif findtype "lute" backpack as inny2058 target inny2059 elseif findtype "harp" backpack as inny2060 target inny2061 elseif findtype "lap harp" backpack as inny2062 target inny2063 else2064 overhead "I do not have an inny" 342065 @setvar! isPeaced 12066 endif2067 wft 5002068 endif2069 target backpack2070 settimer meditiationTimer 02071 endif 2072 endif2073 2074 if castMagicShield = 1 and timer magicShieldTimer >= cdMagicShield and not findbuff "Magic Reflection"2075 if mana >= manaReserve2076 cast "Magic Reflection"2077 wait 10002078 endif2079 elseif automaticallyDrinkMagicPot = 1 and not findbuff "Magic Reflection" and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as pot2080 dclick pot2081 wait 2002082 endif2083 2084 if findbuff "Magic Reflection"2085 settimer magicShieldTimer 02086 endif2087 2088 if castReactiveArmor = 1 and timer reactiveArmorTimer >= cdReactiveArmor and not findbuff "Reactive Armor"2089 if mana >= manaReserve2090 cast "Reactive Armor"2091 wait 2002092 endif2093 endif2094 2095 if findbuff "Reactive Armor"2096 settimer reactiveArmorTimer 02097 endif2098 2099 if skill "poisoning" >= 100 or castPoisonAnyway = 12100 if timer meditiationTimer >= cdMeditationMini and mana >= manaReserve2101 if castMindRot = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer mindRotTimer >= cdMindRot and skill "Necromancy" >= 75 and 3 < necroSymbols 2102 yell "[MindRot"2103 settimer preventSpamNecroAbilitiesTimer 02104 settimer mindRotTimer 02105 wait 5002106 if gumpexists 6224365162107 if ingump "12/" 6224365162108 @setvar! necroSymbols 122109 elseif ingump "13/" 6224365162110 @setvar! necroSymbols 132111 elseif ingump "14/" 6224365162112 @setvar! necroSymbols 142113 elseif ingump "15/" 6224365162114 @setvar! necroSymbols 152115 elseif ingump "16/" 6224365162116 @setvar! necroSymbols 162117 elseif ingump "17/" 6224365162118 @setvar! necroSymbols 172119 elseif ingump "18/" 6224365162120 @setvar! necroSymbols 182121 elseif ingump "19/" 6224365162122 @setvar! necroSymbols 192123 elseif ingump "20/" 6224365162124 @setvar! necroSymbols 202125 elseif ingump "21/" 6224365162126 @setvar! necroSymbols 212127 elseif ingump "11/" 6224365162128 @setvar! necroSymbols 112129 elseif ingump "10/" 6224365162130 @setvar! necroSymbols 102131 elseif ingump "9/" 6224365162132 @setvar! necroSymbols 92133 elseif ingump "8/" 6224365162134 @setvar! necroSymbols 82135 elseif ingump "7/" 6224365162136 @setvar! necroSymbols 72137 elseif ingump "6/" 6224365162138 @setvar! necroSymbols 62139 elseif ingump "5/" 6224365162140 @setvar! necroSymbols 52141 elseif ingump "4/" 6224365162142 @setvar! necroSymbols 42143 elseif ingump "3/" 6224365162144 @setvar! necroSymbols 32145 elseif ingump "2/" 6224365162146 @setvar! necroSymbols 22147 elseif ingump "1/" 6224365162148 @setvar! necroSymbols 12149 elseif ingump "0/" 6224365162150 @setvar! necroSymbols 02151 endif2152 endif2153 endif2154 2155 2156 getlabel myKillTarget desc22157 overhead desc22158 2159 if castPoisonStrike = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer poisonStrikeTimer >= cdPoisonStrike and skill "Necromancy" >= 55 and 1 < necroSymbols 2160 if "Ticks" in desc22161 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 2162 yell "[PoisonStrike"2163 wft 5002164 target myKillTarget2165 wait 2002166 settimer preventSpamNecroAbilitiesTimer 02167 settimer poisonStrikeTimer 02168 wait 5002169 if gumpexists 6224365162170 if ingump "12/" 6224365162171 @setvar! necroSymbols 122172 elseif ingump "13/" 6224365162173 @setvar! necroSymbols 132174 elseif ingump "14/" 6224365162175 @setvar! necroSymbols 142176 elseif ingump "15/" 6224365162177 @setvar! necroSymbols 152178 elseif ingump "16/" 6224365162179 @setvar! necroSymbols 162180 elseif ingump "17/" 6224365162181 @setvar! necroSymbols 172182 elseif ingump "18/" 6224365162183 @setvar! necroSymbols 182184 elseif ingump "19/" 6224365162185 @setvar! necroSymbols 192186 elseif ingump "20/" 6224365162187 @setvar! necroSymbols 202188 elseif ingump "21/" 6224365162189 @setvar! necroSymbols 212190 elseif ingump "11/" 6224365162191 @setvar! necroSymbols 112192 elseif ingump "10/" 6224365162193 @setvar! necroSymbols 102194 elseif ingump "9/" 6224365162195 @setvar! necroSymbols 92196 elseif ingump "8/" 6224365162197 @setvar! necroSymbols 82198 elseif ingump "7/" 6224365162199 @setvar! necroSymbols 72200 elseif ingump "6/" 6224365162201 @setvar! necroSymbols 62202 elseif ingump "5/" 6224365162203 @setvar! necroSymbols 52204 elseif ingump "4/" 6224365162205 @setvar! necroSymbols 42206 elseif ingump "3/" 6224365162207 @setvar! necroSymbols 32208 elseif ingump "2/" 6224365162209 @setvar! necroSymbols 22210 elseif ingump "1/" 6224365162211 @setvar! necroSymbols 12212 elseif ingump "0/" 6224365162213 @setvar! necroSymbols 02214 endif2215 endif2216 endif2217 endif2218 endif2219 2220 if isLethalPoison = 02221 2222 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy2223 overhead "Eating shrooms" 662224 dclick mushy2225 @setvar! jase_shrooms mushy2226 wait 2002227 if insysmsg "You consume a magic mushroom and restore some mana."2228 settimer magicMushroomTimer 0 2229 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"2230 settimer magicMushroomTimer 300002231 endif2232 endif2233 2234 if insysmsg "Target cannot be seen." 2235 @setvar! lastCannotBeSeen myKillTarget2236 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 342237 replay2238 endif 2239 2240 // poison lethal2241 if "Lethal" in desc22242 @setvar! isLethalPoison 12243 break2244 elseif castPoisonAnyway = 1 and "Ticks" in desc22245 @setvar! isLethalPoison 12246 break2247 elseif castPoisonAnyway = 1 and "Poison" in desc22248 @setvar! isLethalPoison 12249 break2250 elseif diffhits >= hpCheckToTriggerGreaterHealSpell 2251 // need a heal2252 break2253 elseif mana >= 92254 while not targetexists harmful2255 cast 'poison'2256 wait 502257 if dead myKillTarget2258 hotkey '> Interrupt'2259 replay2260 endif2261 endwhile2262 target myKillTarget2263 wait 2002264 if insysmsg "Target cannot be seen." 2265 @setvar! lastCannotBeSeen myKillTarget2266 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 342267 @setvar! isLethalPoison 12268 endif 2269 else2270 wait 2002271 endif2272 endif2273 endif2274 endif2275 2276 if castCorpseSkin = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer corpseSkinTimer >= cdCorpseSkin and skill "Necromancy" >= 65 and timer meditiationTimer >= cdMeditationMini and 2 < necroSymbols and mana >= manaReserve2277 yell "[CorpseSkin"2278 settimer preventSpamNecroAbilitiesTimer 02279 settimer corpseSkinTimer 02280 cooldown CorpseSkin cdCorpseSkin2281 wait 5002282 if gumpexists 6224365162283 if ingump "12/" 6224365162284 @setvar! necroSymbols 122285 elseif ingump "13/" 6224365162286 @setvar! necroSymbols 132287 elseif ingump "14/" 6224365162288 @setvar! necroSymbols 142289 elseif ingump "15/" 6224365162290 @setvar! necroSymbols 152291 elseif ingump "16/" 6224365162292 @setvar! necroSymbols 162293 elseif ingump "17/" 6224365162294 @setvar! necroSymbols 172295 elseif ingump "18/" 6224365162296 @setvar! necroSymbols 182297 elseif ingump "19/" 6224365162298 @setvar! necroSymbols 192299 elseif ingump "20/" 6224365162300 @setvar! necroSymbols 202301 elseif ingump "21/" 6224365162302 @setvar! necroSymbols 212303 elseif ingump "11/" 6224365162304 @setvar! necroSymbols 112305 elseif ingump "10/" 6224365162306 @setvar! necroSymbols 102307 elseif ingump "9/" 6224365162308 @setvar! necroSymbols 92309 elseif ingump "8/" 6224365162310 @setvar! necroSymbols 82311 elseif ingump "7/" 6224365162312 @setvar! necroSymbols 72313 elseif ingump "6/" 6224365162314 @setvar! necroSymbols 62315 elseif ingump "5/" 6224365162316 @setvar! necroSymbols 52317 elseif ingump "4/" 6224365162318 @setvar! necroSymbols 42319 elseif ingump "3/" 6224365162320 @setvar! necroSymbols 32321 elseif ingump "2/" 6224365162322 @setvar! necroSymbols 22323 elseif ingump "1/" 6224365162324 @setvar! necroSymbols 12325 elseif ingump "0/" 6224365162326 @setvar! necroSymbols 02327 endif2328 endif2329 endif2330 2331 if castBloodOath = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and skill "Necromancy" >= 80 and timer bloodOathTimer >= cdBloodOath and 5 < necroSymbols and mana >= manaReserve2332 yell "[BloodOath"2333 settimer preventSpamNecroAbilitiesTimer 02334 settimer bloodOathTimer 02335 if gumpexists 6224365162336 if ingump "12/" 6224365162337 @setvar! necroSymbols 122338 elseif ingump "13/" 6224365162339 @setvar! necroSymbols 132340 elseif ingump "14/" 6224365162341 @setvar! necroSymbols 142342 elseif ingump "15/" 6224365162343 @setvar! necroSymbols 152344 elseif ingump "16/" 6224365162345 @setvar! necroSymbols 162346 elseif ingump "17/" 6224365162347 @setvar! necroSymbols 172348 elseif ingump "18/" 6224365162349 @setvar! necroSymbols 182350 elseif ingump "19/" 6224365162351 @setvar! necroSymbols 192352 elseif ingump "20/" 6224365162353 @setvar! necroSymbols 202354 elseif ingump "21/" 6224365162355 @setvar! necroSymbols 212356 elseif ingump "11/" 6224365162357 @setvar! necroSymbols 112358 elseif ingump "10/" 6224365162359 @setvar! necroSymbols 102360 elseif ingump "9/" 6224365162361 @setvar! necroSymbols 92362 elseif ingump "8/" 6224365162363 @setvar! necroSymbols 82364 elseif ingump "7/" 6224365162365 @setvar! necroSymbols 72366 elseif ingump "6/" 6224365162367 @setvar! necroSymbols 62368 elseif ingump "5/" 6224365162369 @setvar! necroSymbols 52370 elseif ingump "4/" 6224365162371 @setvar! necroSymbols 42372 elseif ingump "3/" 6224365162373 @setvar! necroSymbols 32374 elseif ingump "2/" 6224365162375 @setvar! necroSymbols 22376 elseif ingump "1/" 6224365162377 @setvar! necroSymbols 12378 elseif ingump "0/" 6224365162379 @setvar! necroSymbols 02380 endif2381 endif2382 endif2383 2384 if castEvilOmen = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer evilOmenTimer >= cdEvilOmen and skill "Necromancy" >= 60 and timer meditiationTimer >= cdMeditationMini and 2 < necroSymbols and mana >= manaReserve2385 yell "[EvilOmen"2386 settimer evilOmenTimer 02387 settimer preventSpamNecroAbilitiesTimer 02388 cooldown EvilOmen cdEvilOmen2389 wait 5002390 if gumpexists 6224365162391 if ingump "12/" 6224365162392 @setvar! necroSymbols 122393 elseif ingump "13/" 6224365162394 @setvar! necroSymbols 132395 elseif ingump "14/" 6224365162396 @setvar! necroSymbols 142397 elseif ingump "15/" 6224365162398 @setvar! necroSymbols 152399 elseif ingump "16/" 6224365162400 @setvar! necroSymbols 162401 elseif ingump "17/" 6224365162402 @setvar! necroSymbols 172403 elseif ingump "18/" 6224365162404 @setvar! necroSymbols 182405 elseif ingump "19/" 6224365162406 @setvar! necroSymbols 192407 elseif ingump "20/" 6224365162408 @setvar! necroSymbols 202409 elseif ingump "21/" 6224365162410 @setvar! necroSymbols 212411 elseif ingump "11/" 6224365162412 @setvar! necroSymbols 112413 elseif ingump "10/" 6224365162414 @setvar! necroSymbols 102415 elseif ingump "9/" 6224365162416 @setvar! necroSymbols 92417 elseif ingump "8/" 6224365162418 @setvar! necroSymbols 82419 elseif ingump "7/" 6224365162420 @setvar! necroSymbols 72421 elseif ingump "6/" 6224365162422 @setvar! necroSymbols 62423 elseif ingump "5/" 6224365162424 @setvar! necroSymbols 52425 elseif ingump "4/" 6224365162426 @setvar! necroSymbols 42427 elseif ingump "3/" 6224365162428 @setvar! necroSymbols 32429 elseif ingump "2/" 6224365162430 @setvar! necroSymbols 22431 elseif ingump "1/" 6224365162432 @setvar! necroSymbols 12433 elseif ingump "0/" 6224365162434 @setvar! necroSymbols 02435 endif2436 endif2437 endif2438 2439 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 jorpse2440 yell "[VampiricEmbrace"2441 wft 5002442 target jorpse2443 settimer preventSpamNecroAbilitiesTimer 02444 settimer vampiricEmbraceTimer 02445 cooldown VampiricEmbrace cdVampiricEmbrace2446 wait 5002447 if gumpexists 6224365162448 if ingump "12/" 6224365162449 @setvar! necroSymbols 122450 elseif ingump "13/" 6224365162451 @setvar! necroSymbols 132452 elseif ingump "14/" 6224365162453 @setvar! necroSymbols 142454 elseif ingump "15/" 6224365162455 @setvar! necroSymbols 152456 elseif ingump "16/" 6224365162457 @setvar! necroSymbols 162458 elseif ingump "17/" 6224365162459 @setvar! necroSymbols 172460 elseif ingump "18/" 6224365162461 @setvar! necroSymbols 182462 elseif ingump "19/" 6224365162463 @setvar! necroSymbols 192464 elseif ingump "20/" 6224365162465 @setvar! necroSymbols 202466 elseif ingump "21/" 6224365162467 @setvar! necroSymbols 212468 elseif ingump "11/" 6224365162469 @setvar! necroSymbols 112470 elseif ingump "10/" 6224365162471 @setvar! necroSymbols 102472 elseif ingump "9/" 6224365162473 @setvar! necroSymbols 92474 elseif ingump "8/" 6224365162475 @setvar! necroSymbols 82476 elseif ingump "7/" 6224365162477 @setvar! necroSymbols 72478 elseif ingump "6/" 6224365162479 @setvar! necroSymbols 62480 elseif ingump "5/" 6224365162481 @setvar! necroSymbols 52482 elseif ingump "4/" 6224365162483 @setvar! necroSymbols 42484 elseif ingump "3/" 6224365162485 @setvar! necroSymbols 32486 elseif ingump "2/" 6224365162487 @setvar! necroSymbols 22488 elseif ingump "1/" 6224365162489 @setvar! necroSymbols 12490 elseif ingump "0/" 6224365162491 @setvar! necroSymbols 02492 endif2493 endif2494 endif2495 2496 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 jorpse2497 yell "[PainSpike"2498 wft 5002499 target myKillTarget2500 wait 2002501 settimer preventSpamNecroAbilitiesTimer 02502 if insysmsg "You do not see any corpses"2503 // do nothing2504 else2505 settimer painSpikeTimer 02506 cooldown PainSpike cdPainSpike 2507 endif2508 if gumpexists 6224365162509 if ingump "12/" 6224365162510 @setvar! necroSymbols 122511 elseif ingump "13/" 6224365162512 @setvar! necroSymbols 132513 elseif ingump "14/" 6224365162514 @setvar! necroSymbols 142515 elseif ingump "15/" 6224365162516 @setvar! necroSymbols 152517 elseif ingump "16/" 6224365162518 @setvar! necroSymbols 162519 elseif ingump "17/" 6224365162520 @setvar! necroSymbols 172521 elseif ingump "18/" 6224365162522 @setvar! necroSymbols 182523 elseif ingump "19/" 6224365162524 @setvar! necroSymbols 192525 elseif ingump "20/" 6224365162526 @setvar! necroSymbols 202527 elseif ingump "21/" 6224365162528 @setvar! necroSymbols 212529 elseif ingump "11/" 6224365162530 @setvar! necroSymbols 112531 elseif ingump "10/" 6224365162532 @setvar! necroSymbols 102533 elseif ingump "9/" 6224365162534 @setvar! necroSymbols 92535 elseif ingump "8/" 6224365162536 @setvar! necroSymbols 82537 elseif ingump "7/" 6224365162538 @setvar! necroSymbols 72539 elseif ingump "6/" 6224365162540 @setvar! necroSymbols 62541 elseif ingump "5/" 6224365162542 @setvar! necroSymbols 52543 elseif ingump "4/" 6224365162544 @setvar! necroSymbols 42545 elseif ingump "3/" 6224365162546 @setvar! necroSymbols 32547 elseif ingump "2/" 6224365162548 @setvar! necroSymbols 22549 elseif ingump "1/" 6224365162550 @setvar! necroSymbols 12551 elseif ingump "0/" 6224365162552 @setvar! necroSymbols 02553 endif2554 endif2555 endif2556 2557 if castStrangle = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and skill "Necromancy" >= 80 and timer strangleTimer >= cdStrangle and 4 < necroSymbols and mana >= manaReserve2558 yell "[Strangle"2559 settimer preventSpamNecroAbilitiesTimer 02560 settimer strangleTimer 02561 if gumpexists 6224365162562 if ingump "12/" 6224365162563 @setvar! necroSymbols 122564 elseif ingump "13/" 6224365162565 @setvar! necroSymbols 132566 elseif ingump "14/" 6224365162567 @setvar! necroSymbols 142568 elseif ingump "15/" 6224365162569 @setvar! necroSymbols 152570 elseif ingump "16/" 6224365162571 @setvar! necroSymbols 162572 elseif ingump "17/" 6224365162573 @setvar! necroSymbols 172574 elseif ingump "18/" 6224365162575 @setvar! necroSymbols 182576 elseif ingump "19/" 6224365162577 @setvar! necroSymbols 192578 elseif ingump "20/" 6224365162579 @setvar! necroSymbols 202580 elseif ingump "21/" 6224365162581 @setvar! necroSymbols 212582 elseif ingump "11/" 6224365162583 @setvar! necroSymbols 112584 elseif ingump "10/" 6224365162585 @setvar! necroSymbols 102586 elseif ingump "9/" 6224365162587 @setvar! necroSymbols 92588 elseif ingump "8/" 6224365162589 @setvar! necroSymbols 82590 elseif ingump "7/" 6224365162591 @setvar! necroSymbols 72592 elseif ingump "6/" 6224365162593 @setvar! necroSymbols 62594 elseif ingump "5/" 6224365162595 @setvar! necroSymbols 52596 elseif ingump "4/" 6224365162597 @setvar! necroSymbols 42598 elseif ingump "3/" 6224365162599 @setvar! necroSymbols 32600 elseif ingump "2/" 6224365162601 @setvar! necroSymbols 22602 elseif ingump "1/" 6224365162603 @setvar! necroSymbols 12604 elseif ingump "0/" 6224365162605 @setvar! necroSymbols 02606 endif2607 endif2608 endif2609 if diffhits >= hpCheckToTriggerHealPotion 2610 if findtype "Yellow Potion" backpack as pot 2611 getlabel pot desc2612 if "next usable" in desc2613 // do nothing2614 else2615 dclick pot2616 wait 5002617 endif2618 endif2619 endif2620 2621 if diffhits >= hpCheckToTriggerGreaterHealSpell and mana >= 122622 while not targetexists beneficial2623 if diffhits >= hpCheckToTriggerMiniEmergencyHealSpell2624 cast 'Heal'2625 else2626 cast 'Greater Heal' 2627 endif2628 wait 502629 if hp = maxhp2630 hotkey '> Interrupt'2631 break2632 endif2633 endwhile2634 if targetexists beneficial2635 hotkey "Target Self"2636 wait 502637 endif2638 endif2639 2640 if poisoned2641 if automaticallyDrinkCurePot = 1 and diffhits >= hpCheckToTriggerCurePotion and findtype "Orange Potion" backpack as pot 2642 dclick pot2643 wait 2002644 endif2645 2646 while not targetexists beneficial2647 if not poisoned2648 hotkey '> Interrupt'2649 break2650 else2651 cast 'Cure'2652 wait 502653 endif 2654 endwhile2655 if targetexists beneficial2656 hotkey "Target Self"2657 wait 5002658 endif2659 endif2660 2661 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy2662 overhead "Eating shrooms" 662663 dclick mushy2664 @setvar! jase_shrooms mushy2665 wait 2002666 if insysmsg "You consume a magic mushroom and restore some mana."2667 settimer magicMushroomTimer 0 2668 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"2669 settimer magicMushroomTimer 300002670 endif2671 endif2672 2673 2674 2675 if index = 02676 2677 if castLightning = 1 and diffhits < 30 and mana >= 12 and timer lightningTimer >= cdLightning and timer meditiationTimer >= cdMeditationMini and mana >= manaReserve2678 while not targetexists harmful2679 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell2680 hotkey '> Interrupt'2681 break2682 else2683 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook2684 dclick jrook2685 wft 5002686 target myKillTarget2687 settimer meditiationTimer 80002688 settimer HerdTimer 02689 cooldown Herding cdHerdingTimer2690 endif2691 cast 'Lightning'2692 wait 502693 endif 2694 endwhile2695 if targetexists harmful2696 target myKillTarget2697 settimer lightningTimer 02698 cooldown Lightning cdLightning2699 wait 5002700 endif2701 endif2702 2703 elseif index = 12704 2705 if castMagicArrow = 1 and diffhits < 30 and mana >= 5 and timer magicArrowTimer >= cdMagicArrow and timer meditiationTimer >= cdMeditationMini and mana >= manaReserve2706 while not targetexists harmful2707 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell2708 hotkey '> Interrupt'2709 break2710 else2711 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook2712 dclick jrook2713 wft 5002714 target myKillTarget2715 settimer meditiationTimer 80002716 settimer HerdTimer 02717 cooldown Herding cdHerdingTimer2718 endif2719 cast 'magic arrow'2720 wait 502721 endif 2722 endwhile2723 if targetexists harmful2724 target myKillTarget2725 settimer magicArrowTimer 02726 cooldown MagicArrow cdMagicArrow2727 wait 5002728 endif2729 endif2730 2731 elseif index = 22732 2733 if castHarm = 1 and diffhits < 30 and mana >= 9 and timer harmTimer >= cdHarm and timer meditiationTimer >= cdMeditationMini and mana >= manaReserve2734 while not targetexists harmful2735 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell2736 hotkey '> Interrupt'2737 break2738 else2739 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook2740 dclick jrook2741 wft 5002742 target myKillTarget2743 settimer meditiationTimer 80002744 settimer HerdTimer 02745 cooldown Herding cdHerdingTimer2746 endif2747 cast 'harm'2748 wait 502749 endif 2750 endwhile2751 if targetexists harmful2752 target myKillTarget2753 settimer harmTimer 02754 cooldown Harm cdHarm2755 wait 5002756 endif2757 endif2758 2759 elseif index = 32760 2761 if castFireball = 1 and diffhits < 30 and mana >= 12 and timer fireballTimer >= cdFireball and timer meditiationTimer >= cdMeditationMini and mana >= manaReserve2762 while not targetexists harmful2763 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell2764 hotkey '> Interrupt'2765 break2766 else2767 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook2768 dclick jrook2769 wft 5002770 target myKillTarget2771 settimer meditiationTimer 80002772 settimer HerdTimer 02773 cooldown Herding cdHerdingTimer2774 endif2775 cast 'fireball'2776 wait 502777 endif 2778 endwhile2779 if targetexists harmful2780 target myKillTarget2781 settimer fireballTimer 02782 cooldown Fireball cdFireball2783 wait 5002784 endif2785 endif2786 2787 endif2788 2789 if tamerModeEngaged = 12790 2791 if timer autoHealTamerPet >= cdAutoHealTamerPet2792 if not dead jaseTankPet2793 while not targetexists beneficial2794 hotkey 'Greater Heal'2795 wft 2002796 endwhile2797 else2798 while not targetexists beneficial2799 hotkey 'Resurrection'2800 wft 2002801 if diffhits >= hpCheckToTriggerGreaterHealSpell2802 break2803 endif2804 endwhile2805 if targetexists beneficial2806 target jaseTankPet2807 endif2808 while not targetexists beneficial2809 hotkey 'Greater Heal'2810 wft 2002811 endwhile2812 endif2813 if targetexists beneficial2814 target jaseTankPet2815 settimer autoHealTamerPet 02816 cooldown AutoPetHeal cdAutoHealTamerPet2817 endif2818 endif2819 2820 endif2821 2822 endfor2823 2824 if find myKillTarget -1 -1 12 as killy2825 // do nothing2826 else2827 overhead "Out of range" 342828 break2829 endif2830 2831 2832 if diffhits >= hpCheckToTriggerGreaterHealSpell2833 2834 if diffhits >= hpCheckToTriggerHealPotion and findtype "Yellow Potion" backpack as pot 2835 getlabel pot desc2836 if "next usable" in desc2837 // do nothing2838 else2839 dclick pot2840 wait 5002841 endif2842 endif2843 2844 if diffhits >= hpCheckToTriggerGreaterHealSpell and mana >= 122845 while not targetexists beneficial2846 if diffhits >= hpCheckToTriggerMiniEmergencyHealSpell2847 cast 'Heal'2848 else2849 cast 'Greater Heal' 2850 endif2851 wait 502852 if hp = maxhp2853 hotkey '> Interrupt'2854 break2855 endif2856 endwhile2857 if targetexists beneficial2858 hotkey "Target Self"2859 wait 502860 endif2861 endif2862 elseif mana < 55 and findbuff "actively meditating" 2863 // wait for mana2864 elseif timer meditiationTimer < cdMeditationMini and findbuff "actively meditating" 2865 // wait for mana2866 elseif castChainLightning = 1 and timer chainLightningTimer >= cdChainLightning2867 while not targetexists and mana > 40 and mana >= manaReserve2868 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy2869 overhead "Eating shrooms" 662870 dclick mushy2871 @setvar! jase_shrooms mushy2872 wait 2002873 if insysmsg "You consume a magic mushroom and restore some mana."2874 settimer magicMushroomTimer 0 2875 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"2876 settimer magicMushroomTimer 300002877 endif2878 endif2879 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell2880 hotkey '> Interrupt'2881 break2882 else2883 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook2884 dclick jrook2885 wft 5002886 target myKillTarget2887 settimer meditiationTimer 80002888 settimer HerdTimer 02889 cooldown Herding cdHerdingTimer2890 endif2891 cast 'Chain Lightning'2892 wait 502893 endif 2894 endwhile2895 if targetexists2896 target myKillTarget2897 wait 5002898 if insysmsg "Target cannot be seen." 2899 @setvar! lastCannotBeSeen myKillTarget2900 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 342901 replay2902 endif2903 settimer chainLightningTimer 02904 cooldown ChainLightning cdChainLightning2905 endif2906 elseif castEbolt = 1 and mana >= 32 and mana >= manaReserve2907 while not targetexists harmful and mana > 30 and mana >= manaReserve2908 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy2909 overhead "Eating shrooms" 662910 dclick mushy2911 @setvar! jase_shrooms mushy2912 wait 2002913 if insysmsg "You consume a magic mushroom and restore some mana."2914 settimer magicMushroomTimer 0 2915 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"2916 settimer magicMushroomTimer 300002917 endif2918 endif2919 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell2920 hotkey '> Interrupt'2921 break2922 else2923 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook2924 dclick jrook2925 wft 5002926 target myKillTarget2927 settimer meditiationTimer 80002928 settimer HerdTimer 02929 cooldown Herding cdHerdingTimer2930 endif2931 cast 'Energy Bolt'2932 wait 502933 endif 2934 endwhile2935 if targetexists harmful2936 target myKillTarget2937 wait 5002938 if insysmsg "Target cannot be seen." 2939 @setvar! lastCannotBeSeen myKillTarget2940 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 342941 replay2942 endif2943 endif2944 2945 if castMindBlast = 1 and mana >= 32 and mana >= manaReserve2946 while not targetexists harmful and mana > 302947 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy2948 overhead "Eating shrooms" 662949 dclick mushy2950 @setvar! jase_shrooms mushy2951 wait 2002952 if insysmsg "You consume a magic mushroom and restore some mana."2953 settimer magicMushroomTimer 0 2954 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"2955 settimer magicMushroomTimer 300002956 endif2957 endif2958 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell2959 hotkey '> Interrupt'2960 break2961 else2962 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook2963 dclick jrook2964 wft 5002965 target myKillTarget2966 settimer meditiationTimer 80002967 settimer HerdTimer 02968 cooldown Herding cdHerdingTimer2969 endif2970 cast 'Mind Blast'2971 wait 502972 endif 2973 endwhile2974 if targetexists harmful2975 target myKillTarget2976 wait 5002977 if insysmsg "Target cannot be seen." 2978 @setvar! lastCannotBeSeen myKillTarget2979 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 342980 replay2981 endif2982 endif2983 endif2984 if castFlamestrike = 1 and mana > 42 and mana >= manaReserve2985 while not targetexists harmful and mana > 402986 2987 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy2988 overhead "Eating shrooms" 662989 dclick mushy2990 @setvar! jase_shrooms mushy2991 wait 2002992 if insysmsg "You consume a magic mushroom and restore some mana."2993 settimer magicMushroomTimer 02994 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"2995 settimer magicMushroomTimer 30000 2996 endif2997 endif2998 2999 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell3000 hotkey '> Interrupt'3001 break3002 else3003 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook3004 dclick jrook3005 wft 5003006 target myKillTarget3007 settimer meditiationTimer 80003008 settimer HerdTimer 03009 cooldown Herding cdHerdingTimer3010 endif3011 cast 'Flamestrike'3012 wait 503013 endif 3014 endwhile3015 if targetexists harmful3016 target myKillTarget3017 wait 5003018 if insysmsg "Target cannot be seen." 3019 @setvar! lastCannotBeSeen myKillTarget3020 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 343021 replay3022 endif3023 endif3024 endif3025 elseif castMindBlast = 1 and mana >= 32 and mana >= manaReserve3026 while not targetexists harmful and mana > 303027 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy3028 overhead "Eating shrooms" 663029 dclick mushy3030 @setvar! jase_shrooms mushy3031 wait 2003032 if insysmsg "You consume a magic mushroom and restore some mana."3033 settimer magicMushroomTimer 0 3034 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"3035 settimer magicMushroomTimer 300003036 endif3037 endif3038 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell3039 hotkey '> Interrupt'3040 break3041 else3042 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook3043 dclick jrook3044 wft 5003045 target myKillTarget3046 settimer meditiationTimer 80003047 settimer HerdTimer 03048 cooldown Herding cdHerdingTimer3049 endif3050 cast 'Mind Blast'3051 wait 503052 endif 3053 endwhile3054 if targetexists harmful3055 target myKillTarget3056 wait 5003057 if insysmsg "Target cannot be seen." 3058 @setvar! lastCannotBeSeen myKillTarget3059 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 343060 replay3061 endif3062 endif3063 if castFlamestrike = 1 and mana > 42 and mana >= manaReserve3064 while not targetexists harmful and mana > 403065 3066 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy3067 overhead "Eating shrooms" 663068 dclick mushy3069 @setvar! jase_shrooms mushy3070 wait 2003071 if insysmsg "You consume a magic mushroom and restore some mana."3072 settimer magicMushroomTimer 0 3073 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"3074 settimer magicMushroomTimer 300003075 endif3076 endif3077 3078 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell3079 hotkey '> Interrupt'3080 break3081 else3082 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook3083 dclick jrook3084 wft 5003085 target myKillTarget3086 settimer meditiationTimer 80003087 settimer HerdTimer 03088 cooldown Herding cdHerdingTimer3089 endif3090 cast 'Flamestrike'3091 wait 503092 endif 3093 endwhile3094 if targetexists harmful3095 target myKillTarget3096 wait 5003097 if insysmsg "Target cannot be seen." 3098 @setvar! lastCannotBeSeen myKillTarget3099 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 343100 replay3101 endif3102 endif3103 endif3104 elseif castFlamestrike = 1 and mana > 42 and mana >= manaReserve3105 while not targetexists harmful and mana > 403106 3107 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy3108 overhead "Eating shrooms" 663109 dclick mushy3110 @setvar! jase_shrooms mushy3111 wait 2003112 if insysmsg "You consume a magic mushroom and restore some mana."3113 settimer magicMushroomTimer 0 3114 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"3115 settimer magicMushroomTimer 300003116 endif3117 endif3118 3119 if followers < breakSpellCastAndResummonIfLessThanXFollowers or dead myKillTarget or diffhits >= hpCheckToTriggerGreaterHealSpell3120 hotkey '> Interrupt'3121 break3122 else3123 if skill "Herding" > 0 and timer HerdTimer >= cdHerdingTimer and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook3124 dclick jrook3125 wft 5003126 target myKillTarget3127 settimer meditiationTimer 80003128 settimer HerdTimer 03129 cooldown Herding cdHerdingTimer3130 endif3131 cast 'Flamestrike'3132 wait 503133 endif 3134 endwhile3135 if targetexists harmful3136 target myKillTarget3137 wait 5003138 if insysmsg "Target cannot be seen." 3139 @setvar! lastCannotBeSeen myKillTarget3140 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 343141 replay3142 endif3143 endif3144 elseif not findbuff "actively meditating" and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy3145 overhead "Eating shrooms" 663146 dclick mushy3147 @setvar! jase_shrooms mushy3148 wait 2003149 if insysmsg "You consume a magic mushroom and restore some mana."3150 settimer magicMushroomTimer 0 3151 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"3152 settimer magicMushroomTimer 300003153 endif3154 elseif not findbuff "actively meditating" and timer meditiationTimer >= cdMeditation and isDiscorded = 1 and isPeaced = 13155 if followers > 03156 say "all guard me"3157 endif3158 useskill 'meditation'3159 settimer meditiationTimer 03160 wait 5003161 endif3162 wait 503163 endwhile3164 wait 5003165 if targetexists 3166 hotkey 'Cancel Current Target'3167 endif3168 if not findbuff "actively meditating" 3169 if automaticallySkinCorpses = 1 and findtype "corpse" ground -1 -1 3 as jorpse3170 if findtype "Elven Spellblade" backpack3171 while not targetexists neutral3172 useskill 'forensicevaluation'3173 endwhile3174 if targetexists neutral3175 hotkey "Target Self"3176 wait minimumWaitForPing3177 @ignore jorpse3178 endif3179 endif3180 endif3181 if followers > 03182 say "all guard me"3183 endif3184 endif3185 while mana < minimumManaToCast3186 if setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster = 03187 hotkey 'Target Closest Non-Friendly Monster'3188 wait 2003189 if insysmsg "No one matching that was found"3190 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam3191 overhead "no next target" 343192 settimer preventOverheadSpamTimer 03193 endif3194 elseif not find lasttarget ground -1 -1 83195 overhead "� NEXT TARGET HERE �" 88 lasttarget3196 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam3197 overhead "Move closer, more then 8 tiles away" 343198 settimer preventOverheadSpamTimer 03199 endif3200 else3201 overhead "� NEXT TARGET HERE �" 88 lasttarget3202 attack lasttarget3203 endif 3204 endif3205 if diffhits >= hpCheckToTriggerGreaterHealSpell3206 if diffhits >= hpCheckToTriggerHealPotion and findtype "Yellow Potion" backpack as pot 3207 getlabel pot desc3208 if "next usable" in desc3209 // do nothing3210 else3211 dclick pot3212 wait 6503213 endif3214 endif3215 if diffhits >= hpCheckToTriggerGreaterHealSpell and mana >= 123216 while not targetexists beneficial3217 if diffhits >= hpCheckToTriggerMiniEmergencyHealSpell3218 cast 'Heal'3219 else3220 cast 'Greater Heal' 3221 endif3222 wait 503223 if hp = maxhp3224 hotkey '> Interrupt'3225 break3226 endif3227 endwhile3228 if targetexists beneficial3229 hotkey "Target Self"3230 wait 503231 endif3232 endif3233 endif3234 if not findbuff "actively meditating" 3235 useskill 'meditation'3236 endif3237 wait 5003238 endwhile3239 if canYouMakeAMushroom = 1 and counttype "mushroom" backpack < butOnlyIHaveLessThenThisCount3240 if mana >= manaReserve3241 while counttype "mushroom" backpack < makeThisManyMushroomsCount3242 cast "Create Food"3243 wait 2003244 if diffhits >= 20 or counttype "mushroom" backpack = 03245 break3246 endif3247 endwhile3248 endif3249 endif3250 if castVampiricEmbrace = 1 and timer vampiricEmbraceTimer >= cdVampiricEmbrace and skill "Necromancy" >= 70 and findtype 8198 ground -1 -1 4 as jorpse3251 say "[VampiricEmbrace"3252 wft 5003253 target jorpse3254 settimer vampiricEmbraceTimer 03255 cooldown VampiricEmbrace cdVampiricEmbrace3256 endif3257 if castSummonEarthElementalCount = 1 or castSummonFireElementalCount = 1 or castSummonDemonCount = 1 or castSummonAirCount = 1 or castSummonWaterCount = 13258 useskill "spiritspeak"3259 settimer meditiationTimer 80003260 endif3261 if timer killTargetTimer >= cdKillTarget3262 overhead "We cleared curse and mana drain targets" 343263 removelist myCursedTargets 3264 removelist myManaDrainTargets3265 removelist myManaVampireTargets3266 endif3267else 3268 //Do Nothing3269endif3270 3271 3272if autoBotEnabled = 13273 replay3274endif