Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
One hotkey mage cycle, nox, poison looking for Reaper of Souls by Jaseowns UO Outlands - https://youtu.be/K3bVPhHcInE
MagicMeditation
Halloween 2022 - Reaper of Souls mage bot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/4c740f41-9b22-4e1d-9d8f-42b73b179f3c for latest2# Automation by Jaseowns3## Script: Halloween 2022 - Reaper of Souls mage bot4## Created by: Jaseowns#66945#############################################6 7# One hotkey mage cycle, nox, poison looking for Reaper of Souls by Jaseowns8# UO Outlands - https://youtu.be/K3bVPhHcInE9 10// Beta client for cooldowns11// cooldowns for mushrooms, mana vampire and healpots12// for now using timers13 14# Set this to one, if you want to cast poison once no matter what15# If you have 100 poisoning and want Lethal, set this to 016@setvar! castPoisonAnyway 017 18# We will spam mind blast when other skills are on cooldown19# If you set this to 0 it will use flamestrike20@setvar! spamMindBlastOverFlamestrike 021 22# This will auto replay this script if you want it too23@setvar! autoBotEnabled 124 25# This will make sure you have bless on26@setvar! blessYourself 127 28# Update this variable to 1 for ALL KILL29# Update this variable to 0 for target nearest30@setvar! setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster 031 32###############33### Edit these cooldowns to match your wizard grimoire34######35@setvar! canYouMakeAMushroom 136@setvar! cdLightning 6000037@setvar! cdMagicArrow 2000038@setvar! cdHarm 2000039@setvar! cdFireball 6000040 41###############42### Necro Cooldowns43######44@setvar! cdEvilOmen 3000045@setvar! cdVampiricEmbrace 3000046@setvar! cdCorpseSkin 3000047@setvar! cdMindRot 3000048 49#### Buff Cooldowns50@setvar! cdMushroom 6000051@setvar! cdMagicShield 6000052@setvar! cdReactiveArmor 6000053 54##################################################################55# 56# Hopefully you do not have to edit after this :)57#58##################################################################59 60// Make sure we have a spell book attached61if findlayer self righthand as item62 // do nothing63elseif findtype "3834" backpack as item64 dclick item65else 66 overhead "No book bro!" 3467endif68 69if not timerexists reactiveArmorTimer70 createtimer reactiveArmorTimer71 settimer reactiveArmorTimer cdMagicShield72endif73 74if not timerexists magicShieldTimer75 createtimer magicShieldTimer76 settimer magicShieldTimer cdMagicShield77endif78 79if not timerexists magicMushroomTimer80 createtimer magicMushroomTimer81 settimer magicMushroomTimer cdMushroom82endif83 84if not timerexists magicArrowTimer85 createtimer magicArrowTimer86 settimer magicArrowTimer cdMagicArrow87endif88 89if not timerexists lightningTimer90 createtimer lightningTimer91 settimer lightningTimer cdLightning92endif93 94if not timerexists harmTimer95 createtimer harmTimer96 settimer harmTimer cdHarm97endif98 99if not timerexists fireballTimer100 createtimer fireballTimer101 settimer fireballTimer cdFireball102endif103 104if not timerexists evilOmenTimer105 createtimer evilOmenTimer106 settimer evilOmenTimer cdEvilOmen107endif108 109if not timerexists vampiricEmbraceTimer110 createtimer vampiricEmbraceTimer111 settimer vampiricEmbraceTimer cdVampiricEmbrace112endif113 114if not timerexists corpseSkinTimer115 createtimer corpseSkinTimer116 settimer corpseSkinTimer cdCorpseSkin117endif118 119if not timerexists mindRotTimer120 createtimer mindRotTimer121 settimer mindRotTimer cdMindRot122endif123 124# Eat food if we got it125if not findbuff "food" and findtype "tray" backpack as jood126 dclick jood127 wait 200128endif129 130 131# Use Taste ID if possible132if skill "Taste Identification" >= 50 and not findbuff "herb"133 useskill 'tasteidentification'134 wft 500135 target backpack136endif137 138if setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster = 1139 say "all kill"140 wait 200141 while targetexists 142 // wait143 wait 50144 endwhile145elseif findtype "a reaper of souls|Ayleth Geste" ground -1 -1 12 as nukethisguy146 @setvar myKillTarget nukethisguy 147else 148 overhead "found no one" 34149 if autoBotEnabled = 1150 wait 500151 replay152 endif153endif154 155 156 157if not varexist myPreviousKillTarget158 @setvar myPreviousKillTarget 0 159endif160 161getlabel myKillTarget desc162overhead desc163 164if not varexist myEarthPet or dead myEarthPet165 overhead "Your pet is dead, demonic summon time..." 34166 if findtype "an ancient mummy" ground -1 -1 10 as maybePet167 overhead "Found a mate.. maybe?" 88168 if noto maybePet = "friend"169 @setvar! myEarthPet maybePet170 replay171 endif172 endif173else174 menu myEarthPet 2175 wft 500176 target myKillTarget177endif178 179if diffhits >= 30 and mana > 12180 while not targetexists181 if diffhits >= 60182 cast 'Heal'183 else184 cast 'Greater Heal' 185 endif186 wait 50187 if hp = maxhp188 hotkey '> Interrupt'189 break190 endif191 endwhile192 if targetexists193 target self194 endif195elseif blessYourself = 1 and str <= 100196 while not targetexists197 cast 'Bless'198 wait 50199 if diffhits >= 30200 hotkey '> Interrupt'201 break202 endif203 endwhile204 if targetexists205 target self206 endif207endif208 209if find myKillTarget -1 -1 12 as killy210 if myKillTarget = myPreviousKillTarget211 // do nthoing212 else213 214 215 while not targetexists and not dead myKillTarget216 if diffhits < 30217 cast 'Curse'218 wait 50219 elseif diffhits >= 30 220 hotkey '> Interrupt'221 break222 endif223 endwhile224 if targetexists225 target myKillTarget226 wait 500227 endif228 229 230 while not targetexists and not dead myKillTarget231 if diffhits < 30232 cast 'mana drain'233 wait 50234 elseif diffhits >= 30 235 hotkey '> Interrupt'236 break237 endif 238 endwhile239 if targetexists240 target myKillTarget241 wait 500242 endif243 @setvar myPreviousKillTarget myKillTarget244 endif245else246 overhead "Out of range" 34247endif248 249 250 251clearsysmsg 252 253say "all guard"254 255@setvar! isLethalPoison 0256 257while not dead myKillTarget and find myKillTarget -1 -1 12 as killy258 259 if insysmsg "Target cannot be seen." 260 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34261 endif 262 263 if timer magicShieldTimer >= cdMagicShield and not findbuff "Magic Reflection"264 cast "Magic Reflection"265 wait 1000266 elseif not findbuff "Magic Reflection" and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as pot267 dclick pot268 wait 200269 endif270 271 if findbuff "Magic Reflection"272 settimer magicShieldTimer 0273 endif274 275 if timer reactiveArmorTimer >= cdReactiveArmor and not findbuff "Reactive Armor"276 cast "Reactive Armor"277 wait 200278 endif279 280 if findbuff "Reactive Armor"281 settimer reactiveArmorTimer 0282 endif283 284 if timer corpseSkinTimer >= cdCorpseSkin and skill "Necromancy" >= 65285 overhead "Should be CorpseSkin!" 34286 say "[CorpseSkin"287 settimer corpseSkinTimer 0288 wait 500289 endif290 291 if skill "poisoning" >= 100 or castPoisonAnyway = 1292 293 if timer mindRotTimer >= cdMindRot and skill "Necromancy" >= 75294 overhead "Should be mind rotting!" 34295 say "[MindRot"296 settimer mindRotTimer 0297 wait 500298 endif299 300 while isLethalPoison = 0301 302 if insysmsg "Target cannot be seen." 303 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34304 replay305 endif 306 307 getlabel myKillTarget desc2308 overhead desc2 66309 // poison lethal310 if "Lethal" in desc2311 @setvar! isLethalPoison 1312 break313 elseif castPoisonAnyway = 1 and "Ticks" in desc2314 @setvar! isLethalPoison 1315 break316 elseif castPoisonAnyway = 1 and "Poison" in desc2317 @setvar! isLethalPoison 1318 break319 elseif diffhits >= 30 320 // need a heal321 break322 elseif mana >= 9323 while not targetexists324 cast 'poison'325 wait 50326 if dead myKillTarget327 hotkey '> Interrupt'328 replay329 endif330 endwhile331 target myKillTarget332 wait 200333 if insysmsg "Target cannot be seen." 334 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34335 @setvar! isLethalPoison 1336 endif 337 else338 wait 200339 endif340 endwhile341 endif342 if timer evilOmenTimer >= cdEvilOmen and skill "Necromancy" >= 60343 say "[EvilOmen"344 settimer evilOmenTimer 0345 wait 200346 endif347 348 if timer vampiricEmbraceTimer >= cdVampiricEmbrace and skill "Necromancy" >= 75 and findtype 8198 ground -1 -1 4 as jorpse349 say "[VampiricEmbrace"350 wft 500351 target jorpse352 settimer vampiricEmbraceTimer 0353 endif354 355 if find myKillTarget -1 -1 12 as killy356 // do nothing357 else358 overhead "Out of range" 34359 break360 endif361 362 if poisoned363 if findtype "Orange Potion" backpack as pot 364 dclick pot365 wait 200366 else367 while not targetexists368 if not poisoned369 hotkey '> Interrupt'370 break371 else372 cast 'Cure'373 wait 50374 endif 375 endwhile376 if targetexists377 target self378 wait 500379 endif380 endif381 endif382 383 384 if diffhits < 30 and mana >= 12 and timer lightningTimer >= cdLightning385 while not targetexists386 if dead myKillTarget or diffhits >= 30387 hotkey '> Interrupt'388 break389 else390 cast 'Lightning'391 wait 50392 endif 393 endwhile394 if targetexists395 target myKillTarget396 settimer lightningTimer 0397 wait 500398 endif399 endif400 401 if diffhits < 30 and mana >= 5 and timer magicArrowTimer >= cdMagicArrow402 while not targetexists403 if dead myKillTarget or diffhits >= 30404 hotkey '> Interrupt'405 break406 else407 cast 'magic arrow'408 wait 50409 endif 410 endwhile411 if targetexists412 target myKillTarget413 settimer magicArrowTimer 0414 wait 500415 endif416 endif417 418 if diffhits < 30 and mana >= 9 and timer harmTimer >= cdHarm419 while not targetexists420 if dead myKillTarget or diffhits >= 30421 hotkey '> Interrupt'422 break423 else424 cast 'harm'425 wait 50426 endif 427 endwhile428 if targetexists429 target myKillTarget430 settimer harmTimer 0431 wait 500432 endif433 endif434 435 if diffhits < 30 and mana >= 12 and timer fireballTimer >= cdFireball436 while not targetexists437 if dead myKillTarget or diffhits >= 30438 hotkey '> Interrupt'439 break440 else441 cast 'fireball'442 wait 50443 endif 444 endwhile445 if targetexists446 target myKillTarget447 settimer fireballTimer 0448 wait 500449 endif450 endif451 452 if diffhits >= 30453 454 if findtype "Yellow Potion" backpack as pot 455 getlabel pot desc456 if "next usable" in desc457 // do nothing458 else459 dclick pot460 wait 200461 endif462 endif463 464 if diffhits >= 30 and mana >= 12465 while not targetexists466 if diffhits >= 60467 cast 'Heal'468 else469 cast 'Greater Heal' 470 endif471 wait 50472 if hp = maxhp473 hotkey '> Interrupt'474 break475 endif476 endwhile477 if targetexists478 target self479 wait 50480 endif481 endif482 elseif mana < 55 and findbuff "actively meditating" 483 // wait for mana484 elseif spamMindBlastOverFlamestrike = 1 mana > 42485 while not targetexists and mana > 40486 if dead myKillTarget or diffhits >= 30487 hotkey '> Interrupt'488 break489 else490 cast 'Mind Blast'491 wait 50492 endif 493 endwhile494 if targetexists495 target myKillTarget496 wait 500497 endif498 elseif mana > 42499 while not targetexists and mana > 40500 if dead myKillTarget or diffhits >= 30501 hotkey '> Interrupt'502 break503 else504 cast 'Flamestrike'505 wait 50506 endif 507 endwhile508 if targetexists509 target myKillTarget510 wait 500511 endif512 elseif not findbuff "actively meditating" and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy513 overhead "Eatting shrooms" 66514 dclick mushy515 settimer magicMushroomTimer 0516 elseif not findbuff "actively meditating" 517 useskill 'meditation'518 wait 500519 endif520 wait 50521endwhile522wait 500523if targetexists 524 hotkey 'Cancel Current Target'525endif526say "all guard me"527if canYouMakeAMushroom = 1 and counttype "mushroom" backpack < 5528 while counttype "mushroom" backpack < 15529 cast "Create Food"530 wait 200531 if counttype "mushroom" backpack = 0532 break533 endif534 endwhile535endif536while mana < 50537 if not findbuff "actively meditating" 538 useskill 'meditation'539 endif540 wait 500541endwhile542if timer vampiricEmbraceTimer >= cdVampiricEmbrace and skill "Necromancy" >= 70 and findtype 8198 ground -1 -1 4 as jorpse543 say "[VampiricEmbrace"544 wft 500545 target jorpse546 settimer vampiricEmbraceTimer 0547endif548 549if autoBotEnabled = 1550 replay551endif552 553 554// curse555// mana drain556// magic arrrow557// harm558// fireball559// lightening