"Bapeths Noxy Background" "WARNING" It is important to name this script correctly - Bapeths Noxy Background Oct 5th: Removed Cleansing Brew Routine "What it does" This script is used for Nox dexxers or Nox Mages Poison Weapon Bandage…
HealingCombatMagic
Bapeths Noxy Background.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a806d7aa-2af8-44b7-9c57-928a7b21fe8f for latest2# Automation by Jaseowns3## Script: Bapeths Noxy Background4## Created by: barryroser#05#############################################6 7# "Bapeths Noxy Background"8#9# "WARNING" It is important to name this script correctly - Bapeths Noxy Background10#11# Oct 5th: Removed Cleansing Brew Routine12#13##########################################################################################################################################################################14# "What it does"15#16# This script is used for Nox dexxers or Nox Mages17#18# Poison Weapon19# Bandage20# Recycle (Use container ID wand and open "Party Menu" to activate)21# Utility (Buff pots, Red Pots, Pop Pouch when paralyzed, Cure Potion, Warn when reflect/reactive needed, Eat Food)22# Heal Potion (Muse be set to on below)23# Equip Hands24# "Bane" when ticks are above 325# Cast Poison and target mobs in range (Must be in" Warmode")26# "Mind Rot" for Necros27# Loot Sense and Vaccum Mode (Activated with Wizards Grimoire)28# Warding for Parry Users29# Attack target when within 3 tiles30# Range Indicator above closest target31# Ensure Disarm is active32# Auto-Throw Purple Potions on Bosses33#34##########################################################################################################################################################################35# "Additional Scripts"36#37# "Manual Override" <----- "Important!"38# https://outlands.uorazorscripts.com/script/80d24cbc-c121-484d-af2f-8fe45c765a2b39# 40# Use this script to target bosses and override the closest target scheme41# This is a replacement for a "Set Last Target" hotkey42# "Bane" and the "Auto Explode Potion" functions will not work on bosses if you dont use this43#44##########################################################################################################################################################################45#46# "REQUIRED COOLDOWNS": <---------- "Important information!"47# Cooldowns can be found in the in-game options menu48# If you would like to by-pass manual input of these cooldowns you can use "Bapeths Total Cooldown" XML file found here :49# https://outlands.uorazorscripts.com/script/2138a7dc-785e-4d49-a465-e7c922d533ac50#51##########################################################################################################################################################################52# "Required Cooldowns for Various Builds"53# 54# "Bandage" No data needed55# Type: N/A56# Trigger: N/A57# Trigger Text: N/A58# -------------- Cooldown: N/A59#60# "Weapon Ability Ready"61# Type: Regular62# Trigger: Sys Message63# Trigger Text: Weapon ability ready64# -------------- Cooldown: 565#66# "Heal Bandolier"67# Type: Regular68# Trigger: Sys Message69# Trigger Text: You drink a healing potion70# -------------- Cooldown: 6.7571# (This function requires 3 pts in the Bandolier Perk for the Potion Codex)72#73# "Explosion Potion"74# Type: Regular75# Trigger: Sys Message76# Trigger Text: Where should I throw this potion?77# -------------- Cooldown: 1278# (This function requires 3 pts in the Bandolier Perk for the Potion Codex + Use of the "Manual Override" script to set your target)79# (It only throws potions at bosses)80##########################################################################################################################################################################81#82# "SCRIPT SETTINGS"83#84# "Auto Healing Potion"85#86# To enable "Auto Drink Healing Potion" set the below setting to 187# The script will auto drink a heal pot when a specific amount of HP is missing88# I recommend leaving this option disabled and using heal potions manually89# User can change the threshold at which the healing potion is used by editing "MissingHitPoints" below90#91# (Set this number to use a healing potion when number = hitpoints missing)92@setvar! "MissingHitPoints" 3593#94# (0 = off 1 = on)95@setvar! "AutoHealPotion" 196#97##########################################################################################################################################################################98#99# "Auto Buff Potions"100#101# To enable "Auto-Drink Buff Pots" set the below setting to 1102# The script will drink Strength, Agility, and Magic Resist if it doesnt detect a buff103# (0 = off 1 = on)104#105# AUTO BUFF POTS106@setvar! "AutoBuffPots" 1107#108##########################################################################################################################################################################109#110# "Gold Dropper"111#112# To set "Gold Drop Amount" set one of the below settings to 1113# It will drop either a small amount (444), a medium amount (2222), or a large amount (3444)114#115# GOLD DROPPER116@setvar! "Drop444" 1117@setvar! "Drop2222" 0118@setvar! "Drop3444" 0119#120##########################################################################################################################################################################121#122# "Default Parry Stance"123#124# For Parry Codex Users "Set your Default Stance"125# Because the script uses an auto-warding routine you can set the following stance to default when not bleeding/diseased126# Select which stance you wish to defualt to with a 1, leave the rest at 0127#128# DEFAULT PARRY STANCE129@setvar! "DefaultShieldBash" 0130@setvar! "DefaultTestudo" 0131@setvar! "DefaultMirror" 1132@setvar! "DefaultBulwark" 0133#134##########################################################################################################################################################################135#136# "Auto Recycle"137#138# Change the recycler to keep/discard Fortification armor139# (0 = off 1 = on) 140#141# KEEP FORTIFICATION142@setvar! "KeepFortification" 1143#144##############################################################################################################################################################################################################145#146# "Auto Equip Hands"147#148# The script will record what is in your hands and equip recorded items if they are detected in your backpack149#150# AUTO EQUIP AFTER DISARM151@setvar! "DisarmEquip" 1152#153##########################################################################################################################################################################154#155# "Auto Throw Explode on Bosses"156#157# Turn this setting on to auto throw explosion potions on bosses158# User must select the boss with the "Manual Override" script159# (0 = off 1 = on) 160#161# AUTO EXPLODE POTION162@setvar! "AutoExplodePotion" 1163#164###########################################################################################################################################################################165#166# "Select Weapon Abilty"167#168# Select one of the following weapon abilities to auto use while in active combat (warmode on)169# Place a 1 next to the ability you want to use - default is Weapon Ability 2 (pooner scourge)170# Make sure you only set one of the abilities to a value of 1 - the others must be 0171# 172# AUTO WEAPON ABILITY173@setvar! "WeaponAbilityOne" 0174@setvar! "WeaponAbilityTwo" 0175@setvar! "WeaponAbilityThree" 1176##############################################################################################################################################################################################################177#178# "Spam Reduction"179# Options tab > Targeting & Queues subtab > Uncheck "Attack/Target name overhead"180# Options tab > Targeting & Queues subtab > Uncheck "Show Target Self/Last/Clear Overhead"181# Filters tab > Text & Messages subtab > Check "Filter Repeating Razor Messages" ONLY182# Filters tab > Text & Messages subtab > Check "Enable Text Filter" and add "You estimate" <--- This will remove the Item ID estimation overhead183#184#######################################################################################################################################################################################################################################185#186# "Auto-Recycler"187# This feature will auto recycle bad items and keep the good ones - To use this feature:188# You must be carrying at least one "container identification wand" and at least one "recycler tool" type (Tinker Tools, Sewing Kit, Saw, or Scribes Pen)189# Open the party menu while the script is playing to activate the routine190#191# "Loot-Sense & Vacuum Mode"192# This function will overhead display *loot* above items on the ground and pick them up as you pass by (2 tiles)193# Be aware that this may make you overweight from large gold piles from time to time194# To toggle this feature on/off (default is off) "Double click a Wizard Grimoire"195#196# Script starts here...197if casting 198 while casting 199 //donothing200 endwhile201endif202 203//Necro Routine204if skill "Necromancy" >= 75205 if not findbuff "Mind Rot" 206 say "[mindrot"207 getlabel backpack ping208 endif209endif210// End of Necro Routine211 212//Auto Poison Cast Routine213if warmode and skill "Magery" >= 50 and skill "Poisoning" >= 101214 while not dead215 for 99 216 if not targetexists 217 cast "Poison"218 endif219 hotkey 'Next Grey Monster Target'220 @setvar noxtarget lasttarget221 if find noxtarget ground -1 -1 12222 getlabel noxtarget desc223 if "Lethal" in desc 224 break225 elseif "Deadly" in desc226 break227 elseif "tame" in desc228 break229 elseif "summoned" in desc230 break231 else232 while casting 233 if not warmode 234 if casting 235 hotkey '> Interrupt'236 endif237 hotkey "Cancel Current Target"238 replay239 endif 240 endwhile241 wft 500242 target noxtarget243 pause 150244 break245 endif 246 endif247 if not warmode 248 if casting 249 hotkey '> Interrupt'250 endif251 hotkey "Cancel Current Target"252 break253 endif254 endfor255 if not warmode 256 if casting 257 hotkey '> Interrupt'258 endif259 hotkey "Cancel Current Target"260 break261 endif262 if not hidden and poisoned and not targetexists and findtype "Orange Potion" self as curepot263 while queued264 //donothing265 endwhile266 dclick curepot267 endif268 if skill "Necromancy" >= 50269 if not findbuff "Mind Rot" 270 say "[mindrot"271 getlabel backpack ping272 endif273 endif274 endwhile275endif276// End of Auto Poison Cast Routine277 278if skill "Chivalry" >= 80 and not gumpexists 1387930325279 say [chivalryhotbar280 getlabel backpack ping281endif282 283if skill "Chivalry" >= 80 and not timerexists chivab284 if ingump '20/' 1387930325285 createtimer chivab286 elseif ingump '19/' 1387930325287 createtimer chivab288 elseif ingump '18/' 1387930325289 createtimer chivab290 elseif ingump '17/' 1387930325291 createtimer chivab292 elseif ingump '16/' 1387930325293 createtimer chivab294 elseif ingump '15/' 1387930325295 createtimer chivab296 elseif ingump '14/' 1387930325297 createtimer chivab298 elseif ingump '13/' 1387930325299 createtimer chivab300 elseif ingump '12/' 1387930325301 createtimer chivab302 elseif ingump '11/' 1387930325303 createtimer chivab304 endif305endif306if skill "Chivalry" >= 80 and timerexists chivab and find "Manual Override" ground -1 -1 3307 if not hidden and not findbuff "Enemy of One"308 say '[EnemyofOne'309 pause 550310 endif311 removetimer chivab312endif313if skill "Chivalry" >= 80 and find "Manual Override" ground -1 -1 3314 if not hidden and not findbuff "Divine Fury"315 say '[DivineFury'316 pause 550317 endif318 319 if not hidden and not findbuff "Consecrate Weapon"320 say '[ConsecrateWeapon'321 pause 550322 endif323 removetimer chivab324endif325if skill "Chivalry" >= 80 and not timerexists chivab326 if ingump '20/' 1387930325327 createtimer chivab328 elseif ingump '19/' 1387930325329 createtimer chivab330 elseif ingump '18/' 1387930325331 createtimer chivab332 elseif ingump '17/' 1387930325333 createtimer chivab334 elseif ingump '16/' 1387930325335 createtimer chivab336 elseif ingump '15/' 1387930325337 createtimer chivab338 elseif ingump '14/' 1387930325339 createtimer chivab340 elseif ingump '13/' 1387930325341 createtimer chivab342 elseif ingump '12/' 1387930325343 createtimer chivab344 elseif ingump '11/' 1387930325345 createtimer chivab346 endif347endif348if skill "Chivalry" >= 80 and timerexists chivab and find "BapStabTarget" ground -1 -1 3349 if not hidden and not findbuff "Enemy of One"350 say '[EnemyofOne'351 pause 550352 endif353 removetimer chivab354endif355if skill "Chivalry" >= 80 and find "BapStabTarget" ground -1 -1 3356 if not hidden and not findbuff "Divine Fury"357 say '[DivineFury'358 pause 550359 endif360 361 if not hidden and not findbuff "Consecrate Weapon"362 say '[ConsecrateWeapon'363 pause 550364 endif365 removetimer chivab366endif367 368// Auto Purple Potion369if find "Manual Override" ground -1 -1 12 and not casting and not targetexists and not cooldown "Explosion Potion" and "AutoExplodePotion" = 1 and skill "Alchemy" >= 80 and findtype "Purple Potion" self as bapurp370 clearsysmsg 371 hotkey "Cancel Current Target"372 skill "Begging"373 wft 500374 target "Manual Override"375 getlabel "Manual Override" potdesc376 if insysmsg "Target cannot be seen"377 //donothing378 elseif "Boss" in potdesc379 hotkey "Cancel Current Target"380 dclick bapurp381 wft 500382 target "Manual Override"383 hotkey "Cancel Current Target"384 elseif "Summoned by" in potdesc385 hotkey "Cancel Current Target"386 dclick bapurp387 wft 500388 target "Manual Override"389 hotkey "Cancel Current Target"390 endif391endif392// End of Auto Purple Potion393 394//Auto Healing Potion Routine395if not findbuff "Actively Meditating" and not hidden and not targetexists and "AutoHealPotion" = 1 and not cooldown "Heal Potion" and diffhits > "MissingHitPoints" and findtype "Yellow Potion" backpack as BapHealPot396 while queued397 //dn398 endwhile399 dclick BapHealPot400 getlabel backpack ping401endif402//End of Auto Healing Potion Routine403 404 405// Auto Craft Gheal Pot Routine (Dex Only)406if skill "Alchemy" >= 90 and skill "Magery" <= 20 and counttype 3854 >= 25 and counttype "Ginseng" >= 150 and findtype 3739 backpack as bapmortor407 if not timerexists bapgrindreg408 createtimer bapgrindreg409 settimer bapgrindreg 3000410 endif411 if timer bapgrindreg >= 3000412 settimer bapgrindreg 0413 dclick bapmortor414 waitforgump 949095101 500415 gumpresponse 100 949095101416 waitforgump 949095101 500417 gumpresponse 205 949095101418 endif419endif420if gumpexists 949095101421 gumpclose 949095101422endif423// End of Auto Craft Gheal Pot Routine (Dex Only)424 425//Wep Ability Routine426if skill "Poisoning" >= 80 and skill "Tactics" >= 80427 //do nothing428else429 if cooldown "Weapon Ability Ready"430 createtimer BapWepAbilityReady431 cooldown "Weapon Ability Ready" 0432 endif433 434 if timerexists BapWepAbilityReady435 if "WeaponAbilityOne" = 1436 say "[WeaponAbility1"437 endif438 if "WeaponAbilityTwo" = 1439 say "[WeaponAbility2"440 endif441 if "WeaponAbilityThree" = 1442 say "[WeaponAbility3"443 endif444 removetimer BapWepAbilityReady445 endif446endif447//End of Wep Ability Routine448 449// Poison Weapon Routine450if skill "Fencing" >= 80 or skill "Swordsmanship" >= 80 or skill "Dual Wielding" >= 80451 if not timerexists BapCheckWeaponCoating452 createtimer BapCheckWeaponCoating453 settimer BapCheckWeaponCoating 5000454 endif455 if timer BapCheckWeaponCoating >= 5000 and skill "Poisoning" >= 80 and findtype "Green Potion" self as noxpot456 settimer BapCheckWeaponCoating 0457 if findlayer self righthand as rhand458 getlabel rhand desc459 if "(0." in desc460 skill "Poisoning"461 wft 500462 target noxpot463 wft 500464 target rhand465 elseif "lethal" in desc466 //donothing467 else468 skill "Poisoning"469 wft 500470 target noxpot471 wft 500472 target rhand473 endif474 elseif findlayer self lefthand as lhand475 getlabel lhand desc476 if "(0." in desc477 skill "Poisoning"478 wft 500479 target noxpot480 wft 500481 target rhand482 elseif "lethal" in desc483 //donothing484 else485 skill "Poisoning"486 wft 500487 target noxpot488 wft 500489 target rhand490 endif491 endif492 endif493endif494// End of Poison Weapon Routine495 496// Context Menu Get Varible Routine497if not find "FirstSummon" ground and findtype "Bapith" ground as bapsummon 498 @setvar! "FirstSummon" bapsummon499endif500if not find "SecondSummon" ground and findtype "Bapath" ground as bapsummon 501 @setvar! "SecondSummon" bapsummon502endif503if not find "ThirdSummon" ground and findtype "Baphet" ground as bapsummon 504 @setvar! "ThirdSummon" bapsummon505endif506if not find "FourthSummon" ground and findtype "Bapesh" ground as bapsummon 507 @setvar! "FourthSummon" bapsummon508endif509if not find "FifthSummon" ground and findtype "Bapet" ground as bapsummon 510 @setvar! "FifthSummon" bapsummon511endif512if not find "SixthSummon" ground and findtype "Bapat" ground as bapsummon 513 @setvar! "SixthSummon" bapsummon514endif515if not find "SeventhSummon" ground and findtype "Bapit" ground as bapsummon 516 @setvar! "SeventhSummon" bapsummon517endif518// Endof Context Menu Get Varible Routine519 520if not timerexists invistab and findbuff "Invisibility"521 warmode on522 warmode off523 createtimer invistab524endif525if not timerexists invistab and findbuff "Hidden"526 warmode on527 warmode off528 createtimer invistab529endif530if timerexists invistab and not hidden531 removetimer invistab532endif533 534// Aspect checker routine535if not timerexists checkaspect536 createtimer checkaspect537 settimer checkaspect 60000538elseif timer checkaspect >= 60000 539 if findlayer self innertorso as aspectarm540 getlabel aspectarm desc541 if "aspect" in desc542 if "air" in desc543 overhead "<Air Active>" 2263544 elseif "arcane aspect" in desc545 overhead "<Arcane Active>" 1560546 elseif "artisan aspect" in desc547 overhead "<Artisan Active>" 2096548 elseif "blood aspect" in desc549 overhead "<Blood Active>" 2087550 elseif "command aspect" in desc551 overhead "<Command Active>" 1782552 elseif "death aspect" in desc553 overhead "<Death Active>" 2155554 elseif "discipline aspect" in desc555 overhead "<Discipline Active>" 2490556 elseif "earth aspect" in desc557 overhead "<Earth Active>" 2767558 elseif "eldritch aspect" in desc559 overhead "<Eldritch Active>" 2615560 elseif "fire aspect" in desc561 overhead "<Fire Active>" 2635562 elseif "fortune aspect" in desc563 overhead "<Fortune Active>" 2843564 elseif "frost aspect" in desc565 overhead "<Frost Active>" 2234566 elseif "gadget aspect" in desc567 overhead "<Gadget Active>" 2669568 elseif "harvest aspect" in desc569 overhead "<Harvest Active>" 2086570 elseif "holy aspect" in desc571 overhead "<Holy Active>" 2153572 elseif "lightning aspect" in desc573 overhead "<Lightning Active>" 2650574 elseif "lyric aspect" in desc575 overhead "<Lyric Active>" 2241576 elseif "madness aspect" in desc577 overhead "<Madness Active>" 1060578 elseif "poison aspect" in desc579 overhead "<Poison Active>" 2897580 elseif "shadow aspect" in desc581 overhead "<Shadow Active>" 1790582 elseif "void aspect" in desc583 overhead "<Void Active>" 2599584 elseif "water aspect" in desc585 overhead "<Water Active>" 1788586 elseif "war aspect" in desc587 overhead "<War Active>" 2503588 endif589 else 590 overhead "No aspect enabled" 45591 endif592 endif593 settimer checkaspect 0594endif595// End of aspect checker routine596 597// Auto Re-equip after disarm routine598if "DisarmEquip" = 1599 if not find "mylefthanditem" and findlayer self lefthand as bapleft600 @setvar! "mylefthanditem" bapleft601 endif602 if not find "myrighthanditem" and findlayer self righthand as bapright603 @setvar! "myrighthanditem" bapright604 endif605 if find "mylefthanditem" backpack and not casting and not targetexists and not findlayer self lefthand606 dclick "mylefthanditem"607 pause 500608 getlabel backpack ping609 endif610 if find "myrighthanditem" backpack and not casting and not targetexists and not findlayer self righthand611 dclick "myrighthanditem"612 pause 500613 getlabel backpack ping614 endif615 if not find "mylefthanditem" self616 @unsetvar "mylefthanditem"617 endif618 if not find "myrighthanditem" self619 @unsetvar "myrighthanditem"620 endif621endif622// End of Auto Re-equip after disarm routine623 624// Auto Shield Stance Routine625if skill "Parrying" >= 80626 if not timerexists checkshieldcodex627 createtimer checkshieldcodex628 settimer checkshieldcodex 13000629 elseif timer checkshieldcodex >= 13000630 settimer checkshieldcodex 0631 if findtype "shield codex" backpack as scodex632 getlabel scodex desc633 if not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3634 if "DefaultShieldBash" = 1635 if "Shield Bash" in desc636 //donothing637 elseif "Testudo" in desc638 say "[ShieldsStance1"639 elseif "Mirror" in desc640 say "[ShieldsStance1"641 elseif "Bulwark" in desc642 say "[ShieldsStance1"643 endif644 elseif "DefaultTestudo" = 1645 if "Shield Bash" in desc646 say "[ShieldsStance3"647 elseif "Testudo" in desc648 //donothing649 elseif "Mirror" in desc650 say "[ShieldsStance3"651 elseif "Bulwark" in desc652 say "[ShieldsStance3"653 endif654 elseif "DefaultMirror" = 1655 if "Shield Bash" in desc656 say "[ShieldsStance4"657 elseif "Testudo" in desc658 say "[ShieldsStance4"659 elseif "Mirror" in desc660 //donothing661 elseif "Bulwark" in desc662 say "[ShieldsStance4"663 endif664 elseif "DefaultBulwark" = 1665 if "Shield Bash" in desc666 say "[ShieldsStance5"667 elseif "Testudo" in desc668 say "[ShieldsStance5"669 elseif "Mirror" in desc670 say "[ShieldsStance5"671 elseif "Bulwark" in desc672 //donothing673 endif674 endif 675 endif676 if "Shield Bash" in desc677 overhead "--Shield Bash Stance--" 2490678 elseif "Warding" in desc679 overhead "--Warding Stance--" 2087680 if not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3681 if "DefaultShieldBash" = 1682 say "[ShieldsStance1"683 elseif "DefaultTestudo" = 1684 say "[ShieldsStance3"685 elseif "DefaultMirror" = 1686 say "[ShieldsStance4"687 elseif "DefaultBulwark" = 1688 say "[ShieldsStance5"689 endif690 getlabel backpack ping691 endif692 elseif "Testudo" in desc693 overhead "--Testudo Stance--" 2503694 elseif "Mirror" in desc695 overhead "--Mirror Stance--" 2615696 elseif "Bulwark" in desc697 overhead "--Bulwark Stance--" 2767698 else 699 if mana >= 3700 if "DefaultShieldBash" = 1701 say "[ShieldsStance1"702 elseif "DefaultTestudo" = 1703 say "[ShieldsStance3"704 elseif "DefaultMirror" = 1705 say "[ShieldsStance4"706 elseif "DefaultBulwark" = 1707 say "[ShieldsStance5"708 endif709 endif710 endif711 endif712 endif713 if "DefaultBulwark" = 1 and not findbuff "Bleed" and not findbuff "Diseased"714 if not timerexists standstill715 createtimer standstill716 endif717 if cooldown "Move"718 createtimer OTBulwarkIndicator719 settimer standstill 0720 endif721 if timer standstill >= 3000722 if timerexists OTBulwarkIndicator723 overhead "Bulwark Fortified!" 88724 removetimer OTBulwarkIndicator725 endif726 endif727 endif728 if not timerexists bleedbuffcheck and findbuff "Bleed" and not findbuff "Diseased" and mana >= 3729 removetimer bullwarkactive730 createtimer bleedbuffcheck731 say "[ShieldsStance2" 45732 getlabel backpack ping733 elseif timerexists bleedbuffcheck and not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3734 removetimer bleedbuffcheck735 pause 800736 getlabel backpack ping737 if "DefaultShieldBash" = 1738 say "[ShieldsStance1"739 elseif "DefaultTestudo" = 1740 say "[ShieldsStance3"741 elseif "DefaultMirror" = 1742 say "[ShieldsStance4"743 elseif "DefaultBulwark" = 1744 say "[ShieldsStance5"745 endif746 getlabel backpack ping747 endif748 if not timerexists diseasebuffcheck and findbuff "Diseased" and not findbuff "Bleed" and mana >= 3749 removetimer bullwarkactive750 createtimer diseasebuffcheck751 say "[ShieldsStance2" 45752 getlabel backpack ping753 elseif timerexists diseasebuffcheck and not findbuff "Diseased" and not findbuff "Bleed" and mana >= 3754 removetimer diseasebuffcheck755 pause 800756 getlabel backpack ping757 if "DefaultShieldBash" = 1758 say "[ShieldsStance1"759 elseif "DefaultTestudo" = 1760 say "[ShieldsStance3"761 elseif "DefaultMirror" = 1762 say "[ShieldsStance4"763 elseif "DefaultBulwark" = 1764 say "[ShieldsStance5"765 endif766 getlabel backpack ping767 endif768 if timerexists baptrapbullwark and mana >= 3769 if not findbuff "Diseased" and not findbuff "Bleed" and not timerexists defaultstance and timer baptrapbullwark <= 10000770 if not timerexists "bullwarktime"771 createtimer bullwarktime772 endif 773 if cooldown "Move"774 settimer bullwarktime 0775 endif776 if not timerexists bullwarkactive and timer bullwarktime >= 3000777 say "[ShieldsStance5" 45778 createtimer bullwarkactive779 endif780 endif781 endif782 if cooldown "Move"783 settimer bullwarktime 0784 endif785 if timerexists bullwarkactive and mana >= 3786 if timer bullwarktime < 3000787 if "DefaultShieldBash" = 1788 say "[ShieldsStance1"789 elseif "DefaultTestudo" = 1790 say "[ShieldsStance3"791 elseif "DefaultMirror" = 1792 say "[ShieldsStance4"793 elseif "DefaultBulwark" = 1794 say "[ShieldsStance5"795 endif796 removetimer bullwarkactive797 endif798 endif799endif800// End of Auto Shield Stance Routine801 802// Utility Routine803if skill "healing" >= 20 and not casting and not targetexists 804 if hp = maxhp805 //donothing806 elseif not bandaging and findtype 3617 backpack807 hotkey "Bandage Self"808 cooldown "Bandage" 7000809 endif810endif811if skill "Magery" >= 80812 if timerexists reflect and not findbuff "Magic Reflection"813 if timer reflect > 30000814 overhead "--Cast Reflect--" 2122815 settimer reflect 12000816 endif817 endif818 if findbuff "Magic Reflection" and timerexists reflect819 removetimer reflect820 endif821 if not findbuff "Magic Reflection" and not timerexists reflect822 createtimer reflect823 endif824endif825if skill "Magery" >= 20826 if timerexists reactive and not findbuff "Reactive Armor"827 if timer reactive > 30000828 overhead "--Cast Reactive--" 2122829 settimer reactive 13500830 endif831 endif832 if findbuff "Reactive Armor" and timerexists reactive833 removetimer reactive834 endif835 if not findbuff "Reactive Armor" and not timerexists reactive836 createtimer reactive837 endif838endif839if skill "Magery" >= 40840 if timerexists protection and not findbuff "Protection"841 if timer protection > 30000842 overhead "--Cast Protection--" 2122843 settimer protection 9000844 endif845 endif846 if findbuff "Protection" and timerexists protection847 removetimer protection848 endif849 if not findbuff "Protection" and not timerexists protection850 createtimer protection851 endif852endif853if not hidden and not casting and findbuff "Weaken" and not targetexists and findtype "White Potion" backpack as stpot854 while queued855 //donothing856 endwhile857 dclick stpot858 getlabel backpack ping859endif860if "AutoBuffPots" = 1861 if not targetexists and not findbuff "Actively Meditating" and not hidden and not casting and not findbuff "Magic Resist Potion" and findtype "Black Potion" self as respot862 while queued863 //donothing864 endwhile865 dclick respot866 pause 500867 endif868 if not targetexists and not findbuff "Actively Meditating" and not hidden and not casting and not findbuff "Strength" and findtype "White Potion" self as wpot869 while queued870 //donothing871 endwhile872 dclick wpot873 pause 500874 endif875 if not targetexists and not findbuff "Actively Meditating" and not hidden and not casting and not findbuff "Agility" and findtype "Blue Potion" self as bpot876 while queued877 //donothing878 endwhile879 dclick bpot880 pause 500881 endif882endif883if "AutoBuffPots" = 0884 if not timerexists topupstr885 createtimer topupstr886 settimer topupstr 30000887 elseif timer topupstr >= 30000 and not hidden and not casting and str = 100 and findtype "White Potion" self as stpot888 while queued889 //donothing890 endwhile891 overhead "--Drink Strength--" 2041892 settimer topupstr 0893 endif894 if not timerexists topupdex895 createtimer topupdex896 settimer topupdex 30000897 elseif timer topupdex >= 30000 and not hidden and not casting and str = 100 and findtype "Blue Potion" self as agipot898 while queued899 //donothing900 endwhile901 overhead "--Drink Agility--" 2041902 settimer topupdex 0903 endif904 if not timerexists topupres905 createtimer topupres906 settimer topupres 30000907 elseif timer topupres >= 30000 and not hidden and not casting and not findbuff "Magic Resist Potion" and findtype "Black Potion" self as respot908 while queued909 //donothing910 endwhile911 overhead "--Drink Resist--" 2041912 settimer topupres 0913 endif914endif915if not targetexists and not hidden and not casting and diffstam > 20 and findtype "Red Potion" self as redpot916 while queued917 //donothing918 endwhile919 dclick redpot920 pause 500921endif922if not hidden and paralyzed and not targetexists and findtype "pouch" backpack 38923 while queued924 //donothing925 endwhile926 say "[Pouch"927 pause 500928endif929while poisoned930 if not hidden and not targetexists and findtype "Orange Potion" self as curepot931 while queued932 //donothing933 endwhile934 dclick curepot935 pause 500936 endif937endwhile 938if not targetexists and not casting and not findbuff "Food Satisfaction"939 if findtype 2429|28885|29774|29773|28880|28888|28881|28883|28886|28879 backpack as food940 while queued941 //donothing942 endwhile943 dclick food944 pause 500945 endif946endif947// End of Utility Routine948 949// Fast container ID wand/skill recycle (use Party Menu) routine950if gumpexists 3527489586 and findtype "3997|4148|4032|7864" backpack as breakdowntool951 gumpclose 3527489586952 hotkey "Cancel Current Target"953 if not find "ContainerIDWand" and findtype 20495 backpack as contIDwand954 @setvar! "ContainerIDWand" contIDwand955 endif956 if skill "Item ID" = 120 or find "ContainerIDWand" backpack957 clearsysmsg 958 while queued959 //donothing960 endwhile961 if skill "Item ID" = 120962 skill "Item ID"963 elseif find "ContainerIDWand" backpack964 dclick "ContainerIDWand"965 endif966 wft 500967 overhead "Select Container to ID..." 88968 while targetexists 969 //donothing970 endwhile971 getlabel backpack ping972 overhead "Attempting recycle..." 88973 if insysmsg "No unidentified items found."974 overhead "Nothing fresh to ID..." 45975 elseif insysmsg "That is not a container." 976 overhead "Invalid container, try again.." 45977 elseif insysmsg "You must wait a few moments to use another skill" 978 overhead "Skill Cooldown, Try Again.." 38979 endif980 while findtype 3834 backpack 0 as bbook981 @ignore bbook982 endwhile983 while findtype "5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5059|5060|5061|5063|5070|5074|5075|5076|5078|5085|5089|5090|5101|5103|5105|5106|5129|5131|5132|5135|5138|5139|5142|5143|5144|5146|5201|5203|5204|5205|5207|7169|7170|7173|7175|7177|7179|7181|7610|7947|31003|31004|31005|31006|31007|31008|31009|31010|31011|31012|31015|31191|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|3834|3740|3742|3762|3763|10245|20006|20008|20010|20012|20014|20016|7026|7027|7029|7031|7033|7034|7035|7107|7109|31002|31130|3920|5042|5117|30990|30993|30994|30995|31184|31186|3719|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190|22187|31141|31142|31169|31172" backpack as IDitem984 getlabel IDitem desc985 if "unidentified" in desc or "activated" in desc or "blessed" in desc or "aspect" in desc or "training" in desc or "vanquishing" in desc or "supremely" in desc or "invulnerability" in desc or "power" in desc or "exceedingly accurate force" in desc or "valorite" in desc or "valehide" in desc or "valewood" in desc or "avarite" in desc or "avarhide" in desc or "avarwood" in desc or "verite" in desc or "verehide" in desc or "verewood" in desc or "agapite" in desc or "rosehide" in desc or "rosewood" in desc or "greater beastial" in desc or "greater construct" in desc or "greater daemonic" in desc or "greater elemental" in desc or "greater humanoid" in desc or "greater monstrous" in desc or "greater nature" in desc or "greater undead" in desc or "aegis" in desc or "cavernam" in desc or "darkmire" in desc or "inferno" in desc or "petram" in desc or "nusero" in desc or "ossuary" in desc or "pulma" in desc or "mausoleum" in desc or "wilderness" in desc or "ocean" in desc or "shadowspire" in desc or "kraul" in desc or "time" in desc or "netherzone" in desc or "tidal" in desc986 @ignore IDitem987 overhead "*strong magic*" 2091 IDitem988 elseif "KeepFortification" = 1 and "fortification" in desc989 @ignore IDitem990 overhead "*strong magic*" 2091 IDitem 991 else992 overhead "*trash*" 1779 IDitem993 while not gumpexists 949095101994 while queued995 //donothing996 endwhile997 dclick breakdowntool998 waitforgump 949095101 1000999 endwhile1000 while not ingump "Recycle Single Item" 9490951011001 gumpresponse 2 9490951011002 waitforgump 949095101 10001003 endwhile 1004 gumpresponse 3 9490951011005 waitforgump 949095101 10001006 target IDitem1007 getlabel backpack ping1008 pause 2501009 if ingump "That cannot be recycled"1010 drop backpack1011 lift IDitem1012 drop 01013 while queued1014 //donothing1015 endwhile1016 endif1017 gumpclose 9490951011018 endif1019 if skill "Item ID" = 1201020 //donothing1021 elseif not find "ContainerIDWand" backpack1022 break1023 endif1024 endwhile1025 if gumpexists 9490951011026 gumpclose 9490951011027 endif1028 else1029 overhead "No Container ID Wand..." 381030 endif1031 if targetexists 1032 hotkey "Cancel Current Target"1033 endif1034 overhead "Recycle Complete." 881035 @clearignore 1036endif1037// End of Fast container ID wand recycle routine1038 1039// Loot Vacuum Routine1040if not timerexists lootvacuumswitch1041 if gumpexists 12816237091042 gumpclose 12816237091043 createtimer lootvacuumswitch1044 overhead "--Loot Vacuum Enabled--" 20851045 endif1046endif1047if timerexists lootvacuumswitch1048 if gumpexists 12816237091049 gumpclose 12816237091050 removetimer lootvacuumswitch1051 overhead "--Loot Vacuum Disabled--" 17791052 endif1053endif1054while diffweight <= 0 and findtype "gold coin" backpack as dropgold1055 if not hidden and stam <= 4 and findtype "Red Potion" backpack as redpot1056 while queued1057 //donothing1058 endwhile1059 dclick redpot1060 pause 5001061 getlabel backpack ping1062 endif1063 overhead "My cup runneth over..." 11941064 drop backpack1065 if "Drop444" = 11066 lift dropgold 4441067 elseif "Drop2222" = 11068 lift dropgold 22221069 elseif "Drop3444" = 11070 lift dropgold 34441071 endif1072 drop 01073 while queued1074 //donothing1075 endwhile1076endwhile1077if timerexists lootvacuumswitch1078 if not timerexists lootsensetimer1079 createtimer lootsensetimer1080 settimer lootsensetimer 10001081 endif1082 if not findtype 4239|4240 ground -1 -1 2 and timer lootsensetimer >= 10001083 while findtype 3827 ground 0 as zeroscroll1084 @ignore zeroscroll1085 endwhile1086 while findtype 4225 ground 0 as zeroleather1087 @ignore zeroleather1088 endwhile1089 while findtype 7127 ground 0 as zeroboard1090 @ignore zeroboard1091 endwhile1092 for 191093 if skill "Lockpicking" >= 50 and findtype "wooden chest|metal chest" ground -1 -1 21094 break 1095 endif1096 if findtype "chain link|37477|29368|18660|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|broken shield|blackrock fragment|gargish fragment|11753|18705|55247|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|bottle set|entrail bucket|mounted stalaghorn|sea glass bulb|juggling daggers|st patricks cross|divination orb|mirror display|murder of crows|charmed cobra|prodigy fiddle|wilting rose belljar|scale of balance|screaming mandrake|statue of the siren|the final hour|55204|specimen jars|shattered weapon|bird cage|widows grief|54684|27612|49223|54591|54601|54718|7408|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|statue|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|2594|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|39898|39896|39892|39918|39911|39916|39897|39905|39891|39917|39912|39909|39889|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|3568|3932|5123|5144|5119|5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|7127|4225|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|7154|19979|43423|7154|4225|7127|3861|24343" ground -1 -1 21097 break1098 endif1099 if skill "Stealth" >= 80 and hidden and stam = maxstam and varexist "bwiz" and find "bwiz" backpack and find "bmain" self1100 break1101 endif1102 if diffweight >= 8 and findtype "3821" ground -1 -1 21103 break1104 endif1105 if index > 0 and findtype "chain link|37477|29368|18660|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|blackrock fragment|gargish fragment|11753|18705|55247|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|bottle set|entrail bucket|mounted stalaghorn|sea glass bulb|juggling daggers|st patricks cross|divination orb|mirror display|murder of crows|charmed cobra|prodigy fiddle|wilting rose belljar|scale of balance|screaming mandrake|statue of the siren|the final hour|55204|specimen jars|bird cage|widows grief|54684|27612|49223|54591|54601|54718|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|statue|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|39898|39896|39892|39918|39911|39916|39897|39905|39891|39917|39912|39909|39889|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|3568|3932|5123|5144|5119|5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|19979|43423|7154|4225|7127|3861|24343" ground -1 -1 index as lootlocation1106 overhead "*loot*" 116 lootlocation1107 @ignore lootlocation1108 endif1109 if diffweight >= 8 and index > 0 and findtype "3821" ground -1 -1 index as lootlocation1110 overhead "*gold*" 2091 lootlocation1111 @ignore lootlocation1112 endif1113 if warmode and findtype 4239|4240 ground -1 -1 21114 break1115 endif1116 endfor1117 @clearignore 1118 settimer lootsensetimer 01119 endif1120 while findtype 3827 ground 0 as zeroscroll1121 @ignore zeroscroll1122 endwhile1123 while findtype 4225 ground 0 as zeroleather1124 @ignore zeroleather1125 endwhile1126 while findtype 7127 ground 0 as zeroboard1127 @ignore zeroboard1128 endwhile1129 while not casting and not targetexists and findtype "chain link|37477|29368|18660|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|blackrock fragment|gargish fragment|11753|18705|55247|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|bottle set|entrail bucket|mounted stalaghorn|sea glass bulb|juggling daggers|st patricks cross|divination orb|mirror display|murder of crows|charmed cobra|prodigy fiddle|wilting rose belljar|scale of balance|screaming mandrake|statue of the siren|the final hour|55204|specimen jars|bird cage|widows grief|54684|27612|49223|54591|54601|54718|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|statue|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|39898|39896|39892|39918|39911|39916|39897|39905|39891|39917|39912|39909|39889|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|3568|3932|5123|5144|5119|5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|19979|43423|7154|4225|7127|3861|24343" ground -1 -1 2 as eatloot1130 hotkey 'Grab Item' 1131 target eatloot1132 if insysmsg "Invalid or inaccessible item."1133 @ignore eatloot1134 endif 1135 while queued1136 //donothing1137 endwhile 1138 endwhile1139 while not casting and not targetexists and diffweight >= 8 and findtype 3821 ground -1 -1 2 as goldcoinz1140 hotkey 'Grab Item' 1141 target goldcoinz1142 while queued1143 //donothing1144 endwhile 1145 endwhile1146endif1147// End of Loot Vacuum Routine1148 1149// Search for target routune1150if not timerexists newstabtarget1151 createtimer newstabtarget1152 settimer newstabtarget 6001153endif1154 1155if skill "Magery" <= 50 and not cooldown "PvP" and not targetexists and not find "Manual Override" and timer newstabtarget >= 6001156 settimer newstabtarget 01157 clearsysmsg 1158 hotkey 'Target Closest Grey Monster'1159 if insysmsg "No one matching"1160 //donnothing1161 else 1162 @setvar! "BapStabTarget" lasttarget 1163 endif1164 hotkey "Cancel Current Target"1165endif1166// End of Search for target routune1167 1168 1169// Target Range Overhead Routine1170if not timerexists baprangecheck1171 createtimer baprangecheck1172 settimer baprangecheck 12001173elseif timer baprangecheck >= 12001174 settimer baprangecheck 01175 if find "Manual Override" ground1176 if find "Manual Override" ground -1 -1 11177 overhead "1 Tile" 33 "Manual Override"1178 elseif find "Manual Override" ground -1 -1 21179 overhead "2 Tile" 38 "Manual Override"1180 elseif find "Manual Override" ground -1 -1 31181 overhead "3 Tile" 43 "Manual Override"1182 elseif find "Manual Override" ground -1 -1 41183 overhead "4 Tile" 48 "Manual Override"1184 elseif find "Manual Override" ground -1 -1 51185 overhead "5 Tile" 53 "Manual Override"1186 elseif find "Manual Override" ground -1 -1 61187 overhead "6 Tile" 58 "Manual Override"1188 elseif find "Manual Override" ground -1 -1 71189 overhead "7 Tile" 63 "Manual Override"1190 elseif find "Manual Override" ground -1 -1 81191 overhead "8 Tile" 68 "Manual Override"1192 elseif find "Manual Override" ground -1 -1 91193 overhead "9 Tile" 73 "Manual Override"1194 elseif find "Manual Override" ground -1 -1 101195 overhead "10 Tile" 78 "Manual Override"1196 elseif find "Manual Override" ground -1 -1 111197 overhead "11 Tile" 83 "Manual Override"1198 elseif find "Manual Override" ground -1 -1 121199 overhead "12 Tile" 88 "Manual Override"1200 elseif find "Manual Override" ground -1 -1 131201 overhead "13 Tile" 93 "Manual Override"1202 elseif find "Manual Override" ground -1 -1 141203 overhead "14 Tile" 93 "Manual Override"1204 elseif find "Manual Override" ground -1 -1 151205 overhead "15 Tile" 93 "Manual Override"1206 elseif find "Manual Override" ground -1 -1 161207 overhead "16 Tile" 93 "Manual Override"1208 elseif find "Manual Override" ground -1 -1 171209 overhead "17 Tile" 93 "Manual Override"1210 elseif find "Manual Override" ground -1 -1 181211 overhead "18 Tile" 93 "Manual Override"1212 endif1213 else 1214 if find "BapStabTarget" ground -1 -1 11215 overhead "1 Tile" 33 "BapStabTarget"1216 elseif find "BapStabTarget" ground -1 -1 21217 overhead "2 Tile" 38 "BapStabTarget"1218 elseif find "BapStabTarget" ground -1 -1 31219 overhead "3 Tile" 43 "BapStabTarget"1220 elseif find "BapStabTarget" ground -1 -1 41221 overhead "4 Tile" 48 "BapStabTarget"1222 elseif find "BapStabTarget" ground -1 -1 51223 overhead "5 Tile" 53 "BapStabTarget"1224 elseif find "BapStabTarget" ground -1 -1 61225 overhead "6 Tile" 58 "BapStabTarget"1226 elseif find "BapStabTarget" ground -1 -1 71227 overhead "7 Tile" 63 "BapStabTarget"1228 elseif find "BapStabTarget" ground -1 -1 81229 overhead "8 Tile" 68 "BapStabTarget"1230 elseif find "BapStabTarget" ground -1 -1 91231 overhead "9 Tile" 73 "BapStabTarget"1232 elseif find "BapStabTarget" ground -1 -1 101233 overhead "10 Tile" 78 "BapStabTarget"1234 elseif find "BapStabTarget" ground -1 -1 111235 overhead "11 Tile" 83 "BapStabTarget"1236 elseif find "BapStabTarget" ground -1 -1 121237 overhead "12 Tile" 88 "BapStabTarget"1238 elseif find "BapStabTarget" ground -1 -1 131239 overhead "13 Tile" 93 "BapStabTarget"1240 elseif find "BapStabTarget" ground -1 -1 141241 overhead "14 Tile" 93 "BapStabTarget"1242 elseif find "BapStabTarget" ground -1 -1 151243 overhead "15 Tile" 93 "BapStabTarget"1244 elseif find "BapStabTarget" ground -1 -1 161245 overhead "16 Tile" 93 "BapStabTarget"1246 elseif find "BapStabTarget" ground -1 -1 171247 overhead "17 Tile" 93 "BapStabTarget"1248 elseif find "BapStabTarget" ground -1 -1 181249 overhead "18 Tile" 93 "BapStabTarget"1250 endif1251 endif1252endif1253// End of Target Range Overhead Routine1254 1255// Auto Attack + Weapon Ability Routine1256if skill "fencing" >= 801257 if not gumpexists 39541219341258 say '[abilityhotbar'1259 waitforgump 3954121934 5001260 endif1261 if ingump "Bane" 39541219341262 // do nothing1263 else 1264 gumpclose 39541219341265 endif1266 1267 if not timerexists OTWepAbility1268 createtimer OTWepAbility1269 createtimer BapWepAbilityReady1270 endif1271 1272 if cooldown "Weapon Ability Ready"1273 createtimer BapWepAbilityReady1274 cooldown "Weapon Ability Ready" 01275 endif1276 1277 if timerexists BapWepAbilityReady1278 if find "Manual Override" ground -1 -1 31279 getlabel "Manual Override" noxdesc1280 if "[10" in noxdesc1281 say "[WeaponAbility3"1282 removetimer BapWepAbilityReady1283 elseif "[9" in noxdesc1284 say "[WeaponAbility3"1285 removetimer BapWepAbilityReady1286 elseif "[8" in noxdesc1287 say "[WeaponAbility3"1288 removetimer BapWepAbilityReady1289 elseif "[7" in noxdesc1290 say "[WeaponAbility3"1291 removetimer BapWepAbilityReady1292 elseif "[6" in noxdesc1293 say "[WeaponAbility3"1294 removetimer BapWepAbilityReady1295 elseif "[5" in noxdesc1296 say "[WeaponAbility3"1297 removetimer BapWepAbilityReady1298 elseif "[4" in noxdesc1299 say "[WeaponAbility3"1300 removetimer BapWepAbilityReady1301 elseif "[3" in noxdesc1302 say "[WeaponAbility3"1303 removetimer BapWepAbilityReady1304 endif1305 elseif find "BapStabTarget" ground -1 -1 31306 getlabel "BapStabTarget" noxdesc1307 if "[10" in noxdesc1308 say "[WeaponAbility3"1309 removetimer BapWepAbilityReady1310 elseif "[9" in noxdesc1311 say "[WeaponAbility3"1312 removetimer BapWepAbilityReady1313 elseif "[8" in noxdesc 1314 say "[WeaponAbility3"1315 removetimer BapWepAbilityReady1316 elseif "[7" in noxdesc1317 say "[WeaponAbility3"1318 removetimer BapWepAbilityReady1319 elseif "[6" in noxdesc1320 say "[WeaponAbility3"1321 removetimer BapWepAbilityReady1322 elseif "[5" in noxdesc1323 say "[WeaponAbility3"1324 removetimer BapWepAbilityReady1325 elseif "[4" in noxdesc1326 say "[WeaponAbility3"1327 removetimer BapWepAbilityReady1328 elseif "[3" in noxdesc1329 say "[WeaponAbility3"1330 removetimer BapWepAbilityReady1331 endif 1332 endif 1333 endif1334endif1335 1336if find "Manual Override" ground -1 -1 181337 attack "Manual Override"1338elseif find "BapStabTarget" ground -1 -1 31339 attack "BapStabTarget"1340endif1341 1342if skill "Necromancy" >= 551343 if not timerexists bappoisonstrike1344 createtimer bappoisonstrike1345 settimer bappoisonstrike 310001346 endif1347 if timer bappoisonstrike > 310001348 if find "Manual Override" ground -1 -1 31349 getlabel "Manual Override" noxdesc1350 if "[10" in noxdesc1351 hotkey "Cancel Current Target"1352 say "[PoisonStrike" 1353 wft 5001354 target "Manual Override" 1355 getlabel backpack ping1356 settimer bappoisonstrike 01357 elseif "[9" in noxdesc1358 hotkey "Cancel Current Target"1359 say "[PoisonStrike" 1360 wft 5001361 target "Manual Override" 1362 getlabel backpack ping1363 settimer bappoisonstrike 01364 elseif "[8" in noxdesc1365 hotkey "Cancel Current Target"1366 say "[PoisonStrike" 1367 wft 5001368 target "Manual Override" 1369 getlabel backpack ping1370 settimer bappoisonstrike 01371 elseif "[7" in noxdesc1372 hotkey "Cancel Current Target"1373 say "[PoisonStrike" 1374 wft 5001375 target "Manual Override" 1376 getlabel backpack ping1377 settimer bappoisonstrike 01378 elseif "[6" in noxdesc1379 hotkey "Cancel Current Target"1380 say "[PoisonStrike" 1381 wft 5001382 target "Manual Override" 1383 getlabel backpack ping1384 settimer bappoisonstrike 01385 elseif "[5" in noxdesc1386 hotkey "Cancel Current Target"1387 say "[PoisonStrike" 1388 wft 5001389 target "Manual Override" 1390 getlabel backpack ping1391 settimer bappoisonstrike 01392 elseif "[4" in noxdesc1393 hotkey "Cancel Current Target"1394 say "[PoisonStrike" 1395 wft 5001396 target "Manual Override" 1397 getlabel backpack ping1398 settimer bappoisonstrike 01399 elseif "[3" in noxdesc1400 hotkey "Cancel Current Target"1401 say "[PoisonStrike" 1402 wft 5001403 target "Manual Override" 1404 getlabel backpack ping1405 settimer bappoisonstrike 01406 endif1407 elseif find "BapStabTarget" ground -1 -1 31408 getlabel "BapStabTarget" noxdesc1409 if "[10" in noxdesc1410 hotkey "Cancel Current Target"1411 say "[PoisonStrike" 1412 wft 5001413 target "BapStabTarget" 1414 getlabel backpack ping1415 settimer bappoisonstrike 01416 elseif "[9" in noxdesc1417 hotkey "Cancel Current Target"1418 say "[PoisonStrike" 1419 wft 5001420 target "BapStabTarget" 1421 getlabel backpack ping1422 settimer bappoisonstrike 01423 elseif "[8" in noxdesc 1424 hotkey "Cancel Current Target"1425 say "[PoisonStrike" 1426 wft 5001427 target "BapStabTarget" 1428 getlabel backpack ping1429 settimer bappoisonstrike 01430 elseif "[7" in noxdesc1431 hotkey "Cancel Current Target"1432 say "[PoisonStrike" 1433 wft 5001434 target "BapStabTarget" 1435 getlabel backpack ping1436 settimer bappoisonstrike 01437 elseif "[6" in noxdesc1438 hotkey "Cancel Current Target"1439 say "[PoisonStrike" 1440 wft 5001441 target "BapStabTarget" 1442 getlabel backpack ping1443 settimer bappoisonstrike 01444 elseif "[5" in noxdesc1445 hotkey "Cancel Current Target"1446 say "[PoisonStrike" 1447 wft 5001448 target "BapStabTarget" 1449 getlabel backpack ping1450 settimer bappoisonstrike 01451 elseif "[4" in noxdesc1452 hotkey "Cancel Current Target"1453 say "[PoisonStrike" 1454 wft 5001455 target "BapStabTarget" 1456 getlabel backpack ping1457 settimer bappoisonstrike 01458 elseif "[3" in noxdesc1459 hotkey "Cancel Current Target"1460 say "[PoisonStrike" 1461 wft 5001462 target "BapStabTarget" 1463 getlabel backpack ping1464 settimer bappoisonstrike 01465 endif 1466 endif 1467 endif1468endif1469 1470 1471if skill "swordsmanship" >= 801472 if not gumpexists 39541219341473 say '[abilityhotbar'1474 waitforgump 3954121934 5001475 endif1476 if ingump "Rend" 39541219341477 // do nothing1478 else 1479 gumpclose 39541219341480 endif1481endif1482if skill "fishing" >= 801483 if not gumpexists 39541219341484 say '[abilityhotbar'1485 waitforgump 3954121934 5001486 endif1487 if ingump "Scourge" 39541219341488 // do nothing1489 else 1490 gumpclose 39541219341491 endif1492endif1493if skill "macing" >= 801494 if not gumpexists 39541219341495 say '[abilityhotbar'1496 waitforgump 3954121934 5001497 endif1498 if ingump "Stun" 39541219341499 // do nothing1500 else 1501 gumpclose 39541219341502 endif1503endif1504if skill "Dual Wielding" >= 801505 if not gumpexists 39541219341506 say '[abilityhotbar'1507 waitforgump 3954121934 5001508 endif1509 if ingump "Knave" 39541219341510 // do nothing1511 else 1512 gumpclose 39541219341513 endif1514endif1515if skill "throwing" >= 801516 if not gumpexists 39541219341517 say '[abilityhotbar'1518 waitforgump 3954121934 5001519 endif1520 if ingump "Blitz" 39541219341521 // do nothing1522 else 1523 gumpclose 39541219341524 endif1525endif1526if skill "wrestling" >= 801527 if not gumpexists 39541219341528 say '[abilityhotbar'1529 waitforgump 3954121934 5001530 endif1531 if ingump "Brawl" 39541219341532 // do nothing1533 else 1534 gumpclose 39541219341535 endif1536endif1537if skill "archery" >= 801538 if not gumpexists 39541219341539 say '[abilityhotbar'1540 waitforgump 3954121934 5001541 endif1542 if ingump "Skirmish" 39541219341543 // do nothing1544 else 1545 gumpclose 39541219341546 endif1547endif1548if skill "arcane" >= 801549 if not gumpexists 39541219341550 say '[abilityhotbar'1551 waitforgump 3954121934 5001552 endif1553 if ingump "Seeking" 39541219341554 // do nothing1555 else 1556 gumpclose 39541219341557 endif1558endif1559// End of Auto Attack + Weapon Ability Routine1560 1561if skill "Arms Lore" >= 80 and not timerexists disarmcheck1562 createtimer disarmcheck1563 settimer disarmcheck 900001564elseif skill "Arms Lore" >= 80 and timerexists disarmcheck1565 clearsysmsg 1566 for 41567 if timer disarmcheck >= 900001568 say "[Disarm" 1569 getlabel backpack ping1570 if insysmsg "You will now attempt to disarm your opponents."1571 settimer disarmcheck 01572 break1573 endif1574 endif1575 endfor1576endif1577 1578if dead 1579 overhead "I need a new body..." 881580 say "[pittrialhotbar" 451581 createtimer BapWepAbilityReady1582 stop1583endif1584 1585loop