Back to "summoner" tags

SenorBorracho by .dave5678

# Jaseowns scrip edited by Hellzy, includes pet check protection, a few escapes due to poisoning and healing- additional usage of flamestrike. Untested with mindblast. # One hotkey mage cycle, nox, poison by Jaseowns # UO Outlands - https://outlands.uorazorscripts.com/mage-bot # # Cooldowns are live, so this script now attempts to display those # Make cooldowns match the names of skills # (check out for details: https://outlands.uorazorscripts.com/mage-bot) # # VERISON: v2.2.2 # # // 1/15/2024 - SenorBorracho // - fixed discord buff and kill target discordance // 12/26/2022 // - updated poison strike and how it deals with poison // - added earth elemental as pet only instead of mummy // 12/21/2022 // - fixed bug with mindblast and two lich summons // 12/17/2022 // - V2 of AutoBot created. Idea is to leverage things from mining script ################## ## Always room for improvment, thanks for watching! ############ # Set this to one, if you want to cast poison once no matter what # If you have 100 poisoning and want Lethal, set this to 0 @setvar! castPoisonAnyway 0 # This will auto replay this script if you want it too @setvar! autoBotEnabled 1 # Update this variable to 1 for ALL KILL # Update this variable to 0 for target nearest @setvar! setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster 0 ############### ### Choose your summons ###### @setvar! castSummonFireElementalCount 1 @setvar! castSummonCreatureCount 1 @setvar! castSummonEarthElementalCount 1 @setvar! castSummonEarthElementalAsMummy 1 ############### ### Choose your spells ###### @setvar! castCurse 0 @setvar! castManadrain 1 @setvar! castLightning 0 @setvar! castFireball 0 @setvar! castHarm 1 @setvar! castMagicArrow 1 # When other spells are on cooldown, do you want to cast MindBlast or Flamestrike or both @setvar! castMindBlast 0 @setvar! castFlamestrike 1 ### Buffs @setvar! castBless 1 @setvar! castMagicShield 1 @setvar! castReactiveArmor 1 # Drink Magic resist potion (only if magic shield buff not found) @setvar! drinkMagicResistPot 1 ############### ### Choose your necro spells (ignored if less then required necro skill) ###### @setvar! castEvilOmen 1 @setvar! castCorpseSkin 1 @setvar! castVampiricEmbrace 0 @setvar! castMindRot 1 @setvar! castPoisonStrike 1 @setvar! castBloodOath 1 @setvar! castPainSpike 1 @setvar! requireWitherBeforeSummons 0 ############### ### Edit these cooldowns to match your wizard grimoire ###### @setvar! canYouMakeAMushroom 1 @setvar! cdLightning 60000 @setvar! cdMagicArrow 60000 @setvar! cdHarm 60000 @setvar! cdFireball 60000 ############### ### Necro Cooldowns ###### @setvar! cdEvilOmen 30500 @setvar! cdVampiricEmbrace 30500 @setvar! cdCorpseSkin 30500 @setvar! cdMindRot 30500 @setvar! cdWither 30500 @setvar! cdVengefulSpirit 30500 @setvar! cdBloodOath 30500 @setvar! cdPainSpike 30500 @setvar! cdPoisonStrike 30500 #### Buff Cooldowns @setvar! cdMushroom 61000 @setvar! cdMagicShield 61000 @setvar! cdReactiveArmor 61000 @setvar! cdMeditation 10000 @setvar! cdMeditationMini 3000 @setvar! cdKillTarget 60000 #### Random cooldowns @setvar! cdPreventOverheadSpam 2000 #### Mushroom count (I like a lot of shroomies) @setvar! makeThisManyMushroomsCount 15 @setvar! butOnlyIHaveLessThenThisCount 5 @setvar! patrolPetEvenIfLastTargetIsBeyondEightTiles 1 if counttype "gold coin" backpack as total if 10000 < total overhead "Warning: {{total}} gold!" 34 endif endif if findtype "dungeon torch" backpack as item overhead "Holy crap!" 88 say "I got one!" 88 overhead "I got one!" 88 elseif findtype 30580 backpack as item overhead "Holy crap!" 88 say "I got one!" 88 overhead "I got one!" 88 endif #### Pet Names, unique to you if not listexists petNameList createlist petNameList endif if list petNameList = 0 pushlist petNameList "dude" pushlist petNameList "bro" endif ################################################################## # # Hopefully you do not have to edit after this :) # ################################################################## if not gumpexists 622436516 and skill "Necromancy" >= 50 say '[NecromancyHotbar' wait 500 endif // Make sure we have a spell book attached if findlayer self righthand as item // do nothing elseif findtype "3834" backpack as item dclick item else overhead "No book bro!" 34 endif #if dead myKillTarget and targetexists and diffhits < 30 and not poisoned # hotkey 'Cancel Current Target' # say 'all guard me' #endif // Setting current necro symbols - checks again it the attack loop @setvar! necroSymbols 12 if gumpexists 622436516 and skill "Necromancy" >= 50 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif if not timerexists reactiveArmorTimer createtimer reactiveArmorTimer settimer reactiveArmorTimer cdMagicShield endif if not timerexists magicShieldTimer createtimer magicShieldTimer settimer magicShieldTimer cdMagicShield endif if not timerexists magicMushroomTimer createtimer magicMushroomTimer settimer magicMushroomTimer cdMushroom endif if not timerexists magicArrowTimer createtimer magicArrowTimer settimer magicArrowTimer cdMagicArrow endif if not timerexists lightningTimer createtimer lightningTimer settimer lightningTimer cdLightning endif if not timerexists harmTimer createtimer harmTimer settimer harmTimer cdHarm endif if not timerexists fireballTimer createtimer fireballTimer settimer fireballTimer cdFireball endif if not timerexists evilOmenTimer createtimer evilOmenTimer settimer evilOmenTimer cdEvilOmen endif if not timerexists vampiricEmbraceTimer createtimer vampiricEmbraceTimer settimer vampiricEmbraceTimer cdVampiricEmbrace endif if not timerexists corpseSkinTimer createtimer corpseSkinTimer settimer corpseSkinTimer cdCorpseSkin endif if not timerexists mindRotTimer createtimer mindRotTimer settimer mindRotTimer cdMindRot endif if not timerexists meditiationTimer createtimer meditiationTimer settimer meditiationTimer cdMeditation endif if not timerexists killTargetTimer createtimer killTargetTimer settimer killTargetTimer cdKillTarget endif if not timerexists witherTimer createtimer witherTimer settimer witherTimer cdWither endif if not timerexists vengefulSpiritTimer createtimer vengefulSpiritTimer settimer vengefulSpiritTimer cdVengefulSpirit endif if not timerexists bloodOathTimer createtimer bloodOathTimer settimer bloodOathTimer cdBloodOath endif if not timerexists painSpikeTimer createtimer painSpikeTimer settimer painSpikeTimer cdPainSpike endif if not timerexists poisonStrikeTimer createtimer poisonStrikeTimer settimer poisonStrikeTimer cdPoisonStrike endif if not timerexists preventOverheadSpamTimer createtimer preventOverheadSpamTimer settimer preventOverheadSpamTimer cdPreventOverheadSpam endif @setvar! cdPreventSpamNecroAbilities 750 if not timerexists preventSpamNecroAbilitiesTimer createtimer preventSpamNecroAbilitiesTimer settimer preventSpamNecroAbilitiesTimer cdPreventSpamNecroAbilities endif if not varexist myEarthPet @setvar! myEarthPet 0 endif if diffhits >= 30 if targetexists hotkey 'Cancel Current Target' endif while not targetexists 'beneficial' if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists 'beneficial' hotkey 'Target Self' endif endif if poisoned #overhead "Were poisoned" if findtype "Orange Potion" backpack while poisoned and findtype "Orange Potion" backpack kpot dclick pot wait 100 endwhile else if not poisoned hotkey '> Interrupt' replay else overhead "Casting Cure" while poisoned and diffhits <= 30 and not targetexists cast 'Cure' wait 50 endwhile endif if targetexists target self wait 500 endif endif endif // make sure we have enough symbols to summon (6 for wither + vengful spirit) if skill "Necromancy" >= 90 and requireWitherBeforeSummons = 1 while followers < 4 and 6 > necroSymbols // we already have vengeful spirit active, skip the check if timer vengefulSpiritTimer < cdVengefulSpirit break endif if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "waiting for symbols" 88 settimer preventOverheadSpamTimer 0 endif if gumpexists 622436516 and skill "Necromancy" >= 50 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endwhile endif if not varexist lichOne @setvar! lichOne 0 endif if not varexist lichTwo @setvar! lichTwo 0 endif if not varexist earthOne @setvar! earthOne 0 endif if not varexist earthTwo @setvar! earthTwo 0 endif if lichOne = creatureOne or lichTwo = creatureOne or earthOne = creatureOne or earthTwo = creatureOne overhead "Duplicated" unsetvar creatureOne endif if diffhits >= 30 if targetexists hotkey 'Cancel Current Target' endif while not targetexists 'beneficial' if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists 'beneficial' target self endif replay endif if castSummonEarthElementalCount > 0 if diffhits < 30 if followers = 0 @setvar! followCount 0 elseif followers = 1 @setvar! followCount 1 elseif followers = 2 @setvar! followCount 2 elseif followers = 3 @setvar! followCount 3 elseif followers = 4 @setvar! followCount 4 elseif followers = 5 @setvar! followCount 5 endif if dead earthOne or not find earthOne ground -1 -1 12 if followers < 4 while mana < 50 if diffhits >= 30 replay endif if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "waiting for mana" 88 settimer preventOverheadSpamTimer 0 endif if not findbuff "Actively Meditating" useskill "meditation" endif wait 200 endwhile if castSummonEarthElementalAsMummy = 1 if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50 yell "[VengefulSpirit" settimer vengefulSpiritTimer 0 wait 500 endif elseif timer vengefulSpiritTimer <= cdVengefulSpirit and skill "Necromancy" >= 50 overhead "Waiting for spirit to go away" replay endif while followers = followCount cast "Earth elemental" wait 500 if timer witherTimer >= cdWither and skill "Necromancy" >= 95 yell "[Wither" settimer witherTimer 0 endif if diffhits >= 30 hotkey '> Interrupt' break endif endwhile // 158 - an ancient mummy // 14 - an earth elemental if findtype 158|14 ground -1 -1 6 as myPet if noto myPet = "friend" and list petNameList > 0 overhead "Renaming..." foreach petName in petNameList rename myPet petName break endfor poplist petNameList "front" endif @setvar! earthOne myPet say "all guard me" replay endif endif endif endif if diffhits < 30 and castSummonEarthElementalCount > 1 if followers = 0 @setvar! followCount 0 elseif followers = 1 @setvar! followCount 1 elseif followers = 2 @setvar! followCount 2 elseif followers = 3 @setvar! followCount 3 elseif followers = 4 @setvar! followCount 4 elseif followers = 5 @setvar! followCount 5 endif if dead earthTwo or not find earthTwo ground -1 -1 12 if followers < 4 while mana < 50 if diffhits >= 30 replay endif if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "waiting for mana" 88 settimer preventOverheadSpamTimer 0 endif if not findbuff "Actively Meditating" useskill "meditation" endif wait 200 endwhile if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50 yell "[VengefulSpirit" settimer vengefulSpiritTimer 0 wait 500 endif while followers = followCount cast "Earth elemental" wait 500 if timer witherTimer >= cdWither and skill "Necromancy" >= 95 yell "[Wither" settimer witherTimer 0 endif if diffhits >= 30 hotkey '> Interrupt' break endif endwhile // 158 - an ancient mummy // 14 - an earth elemental if findtype 158|14 ground -1 -1 6 as myPet if noto myPet = "friend" and list petNameList > 0 overhead "Renaming..." foreach petName in petNameList rename myPet petName break endfor poplist petNameList "front" endif @setvar! earthTwo myPet say "all guard me" #replay endif endif endif endif endif if castSummonFireElementalCount > 0 if diffhits < 30 if lichOne = 0 // do nothing elseif lichOne = lichTwo overhead "Duplicated" unsetvar lichOne endif if followers = 0 @setvar! followCount 0 elseif followers = 1 @setvar! followCount 1 elseif followers = 2 @setvar! followCount 2 elseif followers = 3 @setvar! followCount 3 elseif followers = 4 @setvar! followCount 4 elseif followers = 5 @setvar! followCount 5 endif if dead lichOne or not find lichOne ground -1 -1 12 or dead lichTwo if followers < 4 while mana < 50 if diffhits >= 30 replay endif if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "waiting for mana" 88 settimer preventOverheadSpamTimer 0 endif if not findbuff "Actively Meditating" useskill "meditation" endif wait 200 endwhile if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50 yell "[VengefulSpirit" settimer vengefulSpiritTimer 0 wait 500 endif @ignore lichTwo while followers = followCount if targetexists hotkey 'Cancel Current Target' endif cast "fire elemental" wait 500 if timer witherTimer >= cdWither and skill "Necromancy" >= 95 yell "[Wither" settimer witherTimer 0 endif if diffhits >= 30 hotkey '> Interrupt' break endif endwhile // 24 - a lich // 15 - a fire elemental if findtype 24|15 ground -1 -1 6 as myPet if noto myPet = "friend" and list petNameList > 0 overhead "Renaming..." foreach petName in petNameList rename myPet petName break endfor poplist petNameList "front" endif @setvar! lichOne myPet overhead "Lich One Set" 88 lichOne say "all guard me" @clearignore #replay endif endif endif endif if diffhits < 30 and castSummonFireElementalCount > 1 if followers = 0 @setvar! followCount 0 elseif followers = 1 @setvar! followCount 1 elseif followers = 2 @setvar! followCount 2 elseif followers = 3 @setvar! followCount 3 elseif followers = 4 @setvar! followCount 4 elseif followers = 5 @setvar! followCount 5 endif if dead lichTwo or not find lichTwo ground -1 -1 12 or dead lichOne if followers < 4 while mana < 50 if diffhits >= 30 replay endif if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "waiting for mana" 88 settimer preventOverheadSpamTimer 0 endif if not findbuff "Actively Meditating" useskill "meditation" endif wait 200 endwhile if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50 yell "[VengefulSpirit" settimer vengefulSpiritTimer 0 wait 500 endif @ignore lichOne while followers = followCount if targetexists hotkey 'Cancel Current Target' endif cast "fire elemental" wait 500 if timer witherTimer >= cdWither and skill "Necromancy" >= 95 yell "[Wither" settimer witherTimer 0 endif if diffhits >= 30 hotkey '> Interrupt' break endif endwhile // 24 - a lich // 15 - a fire elemental if findtype 24|15 ground -1 -1 6 as myPet if noto myPet = "friend" and list petNameList > 0 overhead "Renaming..." foreach petName in petNameList rename myPet petName break endfor poplist petNameList "front" endif @clearignore @setvar! lichTwo myPet overhead "Lich Two Set" 88 lichTwo say "all guard me" #replay endif endif endif endif endif if castSummonCreatureCount = 0 // do nothing elseif castSummonCreatureCount = 1 and not dead creatureOne // do nothing elseif castSummonCreatureCount = 1 if followers = 4 and diffhits < 30 if followers = 0 @setvar! followCount 0 elseif followers = 1 @setvar! followCount 1 elseif followers = 2 @setvar! followCount 2 elseif followers = 3 @setvar! followCount 3 elseif followers = 4 @setvar! followCount 4 elseif followers = 5 @setvar! followCount 5 endif while mana < 14 if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "waiting for mana" 88 settimer preventOverheadSpamTimer 0 endif if diffhits >= 30 replay endif if not findbuff "Actively Meditating" useskill "meditation" endif wait 200 endwhile if timer vengefulSpiritTimer >= cdVengefulSpirit yell "[VengefulSpirit" settimer vengefulSpiritTimer 0 wait 200 endif while followers = followCount if targetexists hotkey 'Cancel Current Target' endif cast 'Summ. Creature' wait 500 if diffhits >= 30 hotkey '> Interrupt' replay endif endwhile say "all guard me" endif else for 6 if index = 0 // do nothing else if diffhits < 30 @setvar! needToSummon 0 if index = 1 if dead creatureOne or not find creatureOne ground -1 -1 12 @setvar! needToSummon 1 endif elseif index = 2 if dead creatureTwo or not find creatureTwo ground -1 -1 12 @setvar! needToSummon 1 endif elseif index = 3 if dead creatureThree or not find creatureThree ground -1 -1 12 @setvar! needToSummon 1 endif elseif index = 4 if dead creatureFour or not find creatureFour ground -1 -1 12 @setvar! needToSummon 1 endif elseif index = 5 if dead creatureFive or not find creatureFive ground -1 -1 12 @setvar! needToSummon 1 endif endif if needToSummon = 1 if followers = 0 @setvar! followCount 0 elseif followers = 1 @setvar! followCount 1 elseif followers = 2 @setvar! followCount 2 elseif followers = 3 @setvar! followCount 3 elseif followers = 4 @setvar! followCount 4 elseif followers = 5 @setvar! followCount 5 endif while mana < 50 if diffhits >= 30 replay endif if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "waiting for mana" 88 settimer preventOverheadSpamTimer 0 endif if not findbuff "Actively Meditating" useskill "meditation" endif wait 200 endwhile if timer vengefulSpiritTimer >= cdVengefulSpirit and skill "Necromancy" >= 50 yell "[VengefulSpirit" settimer vengefulSpiritTimer 0 wait 500 endif while followers = followCount cast "Summ. Creature" wait 500 if timer witherTimer >= cdWither and skill "Necromancy" >= 95 yell "[Wither" settimer witherTimer 0 endif if diffhits >= 30 hotkey '> Interrupt' break endif endwhile hotkey 'Next Friendly Monster Target' @setvar! checkLastTarget lasttarget if checkLastTarget = earthOne hotkey 'Next Friendly Monster Target' @setvar! checkLastTarget lasttarget endif if checkLastTarget = earthTwo hotkey 'Next Friendly Monster Target' @setvar! checkLastTarget lasttarget endif if checkLastTarget = lichOne hotkey 'Next Friendly Monster Target' @setvar! checkLastTarget lasttarget endif if checkLastTarget = lichTwo hotkey 'Next Friendly Monster Target' @setvar! checkLastTarget lasttarget endif @setvar! creatureOne checkLastTarget if find checkLastTarget ground -1 -1 6 as myPet if noto myPet = "friend" and list petNameList > 0 overhead "Renaming..." foreach petName in petNameList rename myPet petName break endfor poplist petNameList "front" endif if index = 1 if dead creatureOne or not find creatureOne ground -1 -1 12 @setvar! creatureOne myPet endif elseif index = 2 if dead creatureTwo or not find creatureTwo ground -1 -1 12 @setvar! creatureTwo myPet endif elseif index = 3 if dead creatureThree or not find creatureThree ground -1 -1 12 @setvar! creatureThree myPet endif elseif index = 4 if dead creatureFour or not find creatureFour ground -1 -1 12 @setvar! creatureFour myPet endif elseif index = 5 if dead creatureFive or not find creatureFive ground -1 -1 12 @setvar! creatureFive myPet endif endif endif endif endif endif if index = castSummonCreatureCount break endif endfor endif # Eat food if we got it if not findbuff "food" and findtype "tray" backpack as jood dclick jood wait 200 endif # Use Taste ID if possible if skill "Taste Identification" >= 50 and not findbuff "herb" and timer meditiationTimer >= 11000 useskill 'tasteidentification' wft 500 target backpack settimer meditiationTimer 0 endif if not findbuff "song of discordance" and timer meditiationTimer >= 11000 useskill 'Discordance' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "harp" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny else overhead "I do not have an inny" 34 @setvar! isDiscorded 1 endif wft 500 endif target backpack settimer meditiationTimer 0 endif if setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster = 1 say "all kill" wait 200 while targetexists // wait wait 50 endwhile else hotkey 'Target Closest Non-Friendly Monster' wait 200 if insysmsg "No one matching that was found" if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "found no one" 34 settimer preventOverheadSpamTimer 0 endif if autoBotEnabled = 1 wait 500 replay endif stop elseif not find lasttarget ground -1 -1 9 overhead "● ▼ OUT OF RANGE ▼ ●" 88 lasttarget if timer preventOverheadSpamTimer >= cdPreventOverheadSpam overhead "Move closer, more then 9 tiles away" 34 settimer preventOverheadSpamTimer 0 endif if patrolPetEvenIfLastTargetIsBeyondEightTiles = 1 and find myEarthPet ground -1 -1 12 menu myEarthPet 2 wft 500 target lasttarget endif if autoBotEnabled = 1 wait 500 replay endif stop else overhead "● ▼▼ HERE ▼▼ ●" 88 lasttarget endif endif @setvar myKillTarget lasttarget getlabel myKillTarget descPet #overhead descPet if "(summoned)" in descPet or "(bonded)" in descPet overhead "Player pet, replaying..." replay endif if not varexist myPreviousKillTarget @setvar myPreviousKillTarget 0 endif getlabel myKillTarget desc overhead desc myKillTarget if not varexist myEarthPet or dead myEarthPet if not dead earthOne @setvar! myEarthPet earthOne elseif not dead earthTwo @setvar! myEarthPet earthTwo endif endif if find myEarthPet ground -1 -1 12 menu myEarthPet 2 wft 500 target myKillTarget endif #target myKillTarget say 'all kill' wft 200 target myKillTarget if diffhits >= 30 and mana > 12 while not targetexists if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists target self endif elseif castBless = 1 and str <= 100 and followers >= 4 while not targetexists and mana > 12 cast 'Bless' wait 50 if diffhits >= 30 hotkey '> Interrupt' break endif endwhile if targetexists target self endif endif if not listexists myCursedTargets createlist myCursedTargets endif if not listexists myManaDrainTargets createlist myManaDrainTargets endif @setvar! isDiscorded 0 if find myKillTarget -1 -1 12 as killy if myKillTarget = myPreviousKillTarget // do nothing else # // Herding using crook # if skill "Herding" > 0 and findtype 3713 backpack as jrook # dclick jrook # wft 500 # target killy # endif if skill "Discordance" >= 50 if isDiscorded = 0 getlabel myKillTarget discordDesc if "discord" in discordDesc @setvar! isDiscorded 1 elseif timer meditiationTimer >= 11000 useskill 'Discordance' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "harp" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny else overhead "I do not have an inny" 34 @setvar! isDiscorded 1 endif wft 500 endif if targetexists target myKillTarget overhead "Discorded" 88 myKillTarget endif settimer meditiationTimer 5000 endif endif if inlist myManaDrainTargets myKillTarget overhead "We already mana drained this guy" 88 // do nothing elseif castManadrain = 0 // do nothing elseif followers >= 4 while not targetexists and not dead myKillTarget if diffhits < 30 cast 'mana drain' wait 50 elseif diffhits >= 30 hotkey '> Interrupt' break endif endwhile if targetexists target myKillTarget pushlist myManaDrainTargets myKillTarget settimer killTargetTimer 0 wait 500 endif endif if inlist myCursedTargets myKillTarget overhead "We already cursed this guy" 88 // do nothing elseif castCurse = 0 // do nothing elseif followers >= 4 if diffhits < 30 if find myKillTarget ground -1 -1 10 while not targetexists and not dead myKillTarget and diffhits <= 30 cast 'Curse' wait 50 endwhile else overhead 'target is more than 10 squares away, get closer to curse' endif elseif diffhits >= 30 hotkey '> Interrupt' break endif if targetexists target myKillTarget pushlist myCursedTargets myKillTarget settimer killTargetTimer 0 wait 500 endif endif @setvar myPreviousKillTarget myKillTarget endif else overhead "Out of range" 34 endif clearsysmsg say "all guard" @setvar! isLethalPoison 0 @setvar! isHerded 0 while not dead myKillTarget and find myKillTarget -1 -1 12 as killy for 5 // lost a follower if followers < 4 overhead 'lost a pet' replay endif if dead myKillTarget break elseif insysmsg "Target cannot be seen." overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34 replay elseif find myKillTarget -1 -1 12 as killy // do nothing - in range to kill else break endif # if skill "Herding" > 0 and isHerded = 0 and timer meditiationTimer >= 11000 and findtype 3713 backpack as jrook # dclick jrook # wft 500 # target myKillTarget # settimer meditiationTimer 8000 # @setvar! isHerded 1 # endif if gumpexists 622436516 and skill "Necromancy" >= 50 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif if castMagicShield = 1 and timer magicShieldTimer >= cdMagicShield and not findbuff "Magic Reflection" cast "Magic Reflection" wait 1000 elseif drinkMagicResistPot = 1 and not findbuff "Magic Reflection" and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as pot dclick pot wait 200 endif if findbuff "Magic Reflection" settimer magicShieldTimer 0 endif if castReactiveArmor = 1 and timer reactiveArmorTimer >= cdReactiveArmor and not findbuff "Reactive Armor" cast "Reactive Armor" wait 200 endif if findbuff "Reactive Armor" settimer reactiveArmorTimer 0 endif if skill "poisoning" >= 100 or castPoisonAnyway = 1 if timer meditiationTimer >= cdMeditationMini if castMindRot = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer mindRotTimer >= cdMindRot and skill "Necromancy" >= 75 and 3 < necroSymbols yell "[MindRot" settimer preventSpamNecroAbilitiesTimer 0 settimer mindRotTimer 0 wait 500 if gumpexists 622436516 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endif getlabel myKillTarget desc2 overhead desc2 if castPoisonStrike = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer poisonStrikeTimer >= cdPoisonStrike and skill "Necromancy" >= 55 and 1 < necroSymbols if "Ticks" in desc2 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 yell "[PoisonStrike" wft 500 target myKillTarget wait 200 settimer preventSpamNecroAbilitiesTimer 0 settimer poisonStrikeTimer 0 wait 500 if gumpexists 622436516 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endif endif endif if isLethalPoison = 0 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy overhead "Eating shrooms" 66 dclick mushy settimer magicMushroomTimer 0 endif if insysmsg "Target cannot be seen." overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34 replay endif // poison lethal if "Lethal" in desc2 @setvar! isLethalPoison 1 break elseif castPoisonAnyway = 1 and "Ticks" in desc2 @setvar! isLethalPoison 1 break elseif castPoisonAnyway = 1 and "Poison" in desc2 @setvar! isLethalPoison 1 break elseif diffhits >= 30 // need a heal break elseif mana >= 9 while not targetexists cast 'poison' wait 50 if dead myKillTarget hotkey '> Interrupt' replay endif endwhile target myKillTarget wait 200 if insysmsg "Target cannot be seen." overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34 @setvar! isLethalPoison 1 endif else wait 200 endif endif endif endif if castCorpseSkin = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer corpseSkinTimer >= cdCorpseSkin and skill "Necromancy" >= 65 and timer meditiationTimer >= cdMeditationMini and 2 < necroSymbols yell "[CorpseSkin" settimer preventSpamNecroAbilitiesTimer 0 settimer corpseSkinTimer 0 cooldown CorpseSkin cdCorpseSkin wait 500 if gumpexists 622436516 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endif if castBloodOath = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer bloodOathTimer >= cdBloodOath and 5 < necroSymbols yell "[BloodOath" settimer preventSpamNecroAbilitiesTimer 0 settimer bloodOathTimer 0 if gumpexists 622436516 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endif if castEvilOmen = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer evilOmenTimer >= cdEvilOmen and skill "Necromancy" >= 60 and timer meditiationTimer >= cdMeditationMini and 2 < necroSymbols yell "[EvilOmen" settimer evilOmenTimer 0 settimer preventSpamNecroAbilitiesTimer 0 cooldown EvilOmen cdEvilOmen wait 500 if gumpexists 622436516 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endif if castVampiricEmbrace = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer vampiricEmbraceTimer >= cdVampiricEmbrace and skill "Necromancy" >= 75 and timer meditiationTimer >= cdMeditationMini and 3 < necroSymbols and findtype 8198 ground -1 -1 4 as jorpse yell "[VampiricEmbrace" wft 500 target jorpse settimer preventSpamNecroAbilitiesTimer 0 settimer vampiricEmbraceTimer 0 cooldown VampiricEmbrace cdVampiricEmbrace wait 500 if gumpexists 622436516 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endif if castPainSpike = 1 and timer preventSpamNecroAbilitiesTimer >= cdPreventSpamNecroAbilities and timer painSpikeTimer >= cdPainSpike and skill "Necromancy" >= 95 and timer meditiationTimer >= cdMeditationMini and 5 < necroSymbols and findtype 8198 ground -1 -1 6 as jorpse yell "[PainSpike" wft 500 target myKillTarget wait 200 settimer preventSpamNecroAbilitiesTimer 0 if insysmsg "You do not see any corpses" // do nothing else settimer painSpikeTimer 0 cooldown PainSpike cdPainSpike endif if gumpexists 622436516 if ingump "12/" 622436516 @setvar! necroSymbols 12 elseif ingump "13/" 622436516 @setvar! necroSymbols 13 elseif ingump "14/" 622436516 @setvar! necroSymbols 14 elseif ingump "15/" 622436516 @setvar! necroSymbols 15 elseif ingump "16/" 622436516 @setvar! necroSymbols 16 elseif ingump "17/" 622436516 @setvar! necroSymbols 17 elseif ingump "18/" 622436516 @setvar! necroSymbols 18 elseif ingump "19/" 622436516 @setvar! necroSymbols 19 elseif ingump "20/" 622436516 @setvar! necroSymbols 20 elseif ingump "21/" 622436516 @setvar! necroSymbols 21 elseif ingump "11/" 622436516 @setvar! necroSymbols 11 elseif ingump "10/" 622436516 @setvar! necroSymbols 10 elseif ingump "9/" 622436516 @setvar! necroSymbols 9 elseif ingump "8/" 622436516 @setvar! necroSymbols 8 elseif ingump "7/" 622436516 @setvar! necroSymbols 7 elseif ingump "6/" 622436516 @setvar! necroSymbols 6 elseif ingump "5/" 622436516 @setvar! necroSymbols 5 elseif ingump "4/" 622436516 @setvar! necroSymbols 4 elseif ingump "3/" 622436516 @setvar! necroSymbols 3 elseif ingump "2/" 622436516 @setvar! necroSymbols 2 elseif ingump "1/" 622436516 @setvar! necroSymbols 1 elseif ingump "0/" 622436516 @setvar! necroSymbols 0 endif endif endif if diffhits >= 30 if findtype "Yellow Potion" backpack as pot getlabel pot desc if "next usable" in desc // do nothing else dclick pot wait 500 endif endif if diffhits >= 30 and mana >= 12 while not targetexists if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists target self wait 50 endif endif endif if poisoned overhead "were poisoned" if findtype "Orange Potion" backpack while poisoned and findtype "Orange Potion" backpack as kpot dclick kpot wait 100 endwhile else while poisoned and diffhits <= 30 and not targetexists if not poisoned hotkey '> Interrupt' break else cast 'Cure' wait 50 endif endwhile if targetexists target self wait 500 endif endif endif if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy overhead "Eating shrooms" 66 dclick mushy settimer magicMushroomTimer 0 endif if index = 0 if castFlamestrike = 1 and mana > 42 # while not targetexists and mana > 40 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy and not poisoned and timer meditiationTimer >= cdMeditationMini overhead "Eating shrooms" 66 dclick mushy settimer magicMushroomTimer 0 endif if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and mana >= 40 cast 'Flamestrike' wait 50 endwhile else overhead 'Too far away get closer to flamestrike' endif endif #endwhile if targetexists target myKillTarget wait 500 endif endif elseif index = 1 if castLightning = 1 and diffhits < 30 and mana >= 12 and timer lightningTimer >= cdLightning and timer meditiationTimer >= cdMeditationMini and not poisoned if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 11 cast 'Lightning' wait 50 endwhile else overhead 'Too far to cast lightning, get closer' endif endif if targetexists target myKillTarget settimer lightningTimer 0 cooldown Lightning cdLightning wait 500 endif endif elseif index = 2 if castMagicArrow = 1 and diffhits < 30 and mana >= 5 and timer magicArrowTimer >= cdMagicArrow and timer meditiationTimer >= cdMeditationMini if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 5 cast 'magic arrow' wait 50 endwhile else overhead 'too far away for magic arrow, get closer' endif endif if targetexists target myKillTarget settimer magicArrowTimer 0 cooldown MagicArrow cdMagicArrow wait 500 endif endif elseif index = 3 if castHarm = 1 and diffhits < 30 and mana >= 9 and timer harmTimer >= cdHarm and timer meditiationTimer >= cdMeditationMini if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 6 cast 'harm' wait 50 endwhile else overhead 'too far away to cast harm, get closer' endif endif if targetexists target myKillTarget settimer harmTimer 0 cooldown Harm cdHarm wait 500 endif endif elseif index = 4 if castFireball = 1 and diffhits < 30 and mana >= 12 and timer fireballTimer >= cdFireball and timer meditiationTimer >= cdMeditationMini if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 9 cast 'fireball' wait 50 endwhile else overhead 'too far away to fireball, get closer two' endif endif if targetexists target myKillTarget settimer fireballTimer 0 cooldown Fireball cdFireball wait 500 endif endif elseif index = 5 if castFireball = 1 and diffhits < 30 and mana >= 12 and timer fireballTimer >= cdFireball and timer meditiationTimer >= cdMeditationMini if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 9 cast 'fireball' wait 50 endwhile else overhead 'too far away to fireball, get closer two' endif endif if targetexists target myKillTarget settimer fireballTimer 0 cooldown Fireball cdFireball wait 500 endif endif endif endfor if find myKillTarget -1 -1 12 as killy // do nothing else overhead "Out of range" 34 break endif if diffhits >= 30 if findtype "Yellow Potion" backpack as pot getlabel pot desc if "next usable" in desc // do nothing else dclick pot wait 500 endif endif if diffhits >= 30 and mana >= 12 while not targetexists if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists target self wait 50 endif endif elseif mana < 55 and findbuff "actively meditating" // wait for mana elseif timer meditiationTimer < cdMeditationMini and findbuff "actively meditating" // wait for mana elseif castMindBlast = 1 and mana >= 32 while not targetexists and mana > 30 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy overhead "Eating shrooms" 66 dclick mushy settimer magicMushroomTimer 0 endif if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 14 cast 'Mind Blast' wait 50 endwhile else overhead "Out of range, get closer to cast Mind Blast" endif endif endwhile if targetexists target myKillTarget wait 500 endif if castFlamestrike = 1 and mana > 42 if diffmana >= 30 and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy overhead "Eating shrooms" 66 dclick mushy settimer magicMushroomTimer 0 endif if followers < 4 or dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else if find myKillTarget ground -1 -1 10 while not targetexists and followers >= 4 and not dead myKillTarget and diffhits <= 30 and find myKillTarget ground -1 -1 10 and not poisoned and mana >= 40 cast 'Flamestrike' wait 50 endwhile else overhead "Out of Range, get closer to cast Flamestrike 2" endif endif if targetexists target myKillTarget wait 500 endif endif elseif not findbuff "actively meditating" and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy overhead "Eating shrooms" 66 dclick mushy settimer magicMushroomTimer 0 elseif not findbuff "actively meditating" and timer meditiationTimer >= cdMeditation say "all guard me" useskill 'meditation' settimer meditiationTimer 0 wait 500 endif wait 50 endwhile wait 500 if targetexists hotkey 'Cancel Current Target' endif if not findbuff "actively meditating" say "all guard me" endif #while mana < 50 # if setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster = 0 # hotkey 'Next Non-Friendly Monster Target' # wait 400 # @setvar! myKillNext lasttarget # getlabel myKillNext descPet2 # overhead descPet2 # # if "(summoned)" in descPet or "(bonded)" in descPet # overhead "Player pet, replaying..." # replay # endif # if insysmsg "No one matching that was found" # if timer preventOverheadSpamTimer >= cdPreventOverheadSpam # overhead "no next target" 34 # settimer preventOverheadSpamTimer 0 # endif # elseif not find lasttarget ground -1 -1 9 # overhead "▼ NEXT TARGET HERE ▼" 88 lasttarget # if timer preventOverheadSpamTimer >= cdPreventOverheadSpam # overhead "Move closer, more then 9 tiles away" 34 # settimer preventOverheadSpamTimer 0 # endif # elseif "(summoned)" in descPet or "(bonded)" in descPet # overhead "Thats a player pet, skipping 2" # endif # # else # overhead "▼ NEXT TARGET HERE ▼" 88 lasttarget # say "all guard me" # #attack lasttarget # endif # endif if diffhits >= 30 and not dead myKillTarget if findtype "Yellow Potion" backpack as pot getlabel pot desc if "next usable" in desc // do nothing else dclick pot wait 200 endif endif if diffhits >= 30 and mana >= 12 while not targetexists if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists target self wait 50 endif endif endif if not findbuff "actively meditating" useskill 'meditation' endif wait 500 #endwhile if canYouMakeAMushroom = 1 and counttype "mushroom" backpack < butOnlyIHaveLessThenThisCount while counttype "mushroom" backpack < makeThisManyMushroomsCount cast "Create Food" wait 200 if diffhits >= 20 or counttype "mushroom" backpack = 0 break endif endwhile endif if castVampiricEmbrace = 1 and timer vampiricEmbraceTimer >= cdVampiricEmbrace and skill "Necromancy" >= 70 and findtype 8198 ground -1 -1 4 as jorpse say "[VampiricEmbrace" wft 500 target jorpse settimer vampiricEmbraceTimer 0 cooldown VampiricEmbrace cdVampiricEmbrace endif if timer killTargetTimer >= cdKillTarget overhead "We cleared curse and mana drain targets" 34 removelist myCursedTargets removelist myManaDrainTargets endif if autoBotEnabled = 1 replay endif // thanks for using a Jaseowns script! // https://www.youtube.com/jaseowns // We did it