CATEGORIES (set as _aspectCategory) 0 = weapon 1 = spellbook 2 = armor
CombatMagic
tranqs aspect switcher.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c8d62f12-e984-4d74-897e-d0cf7ef4adbd for latest2# Automation by Jaseowns3## Script: tranq's aspect switcher4## Created by: tranq#41865#############################################6 7// CATEGORIES (set as _aspectCategory)8// 0 = weapon9// 1 = spellbook10// 2 = armor11 12// ASPECT IDs (set as _aspectType)13// 0 = air14// 1 = artisan15// 2 = blood16// 3 = command17// 4 = death18// 5 = discipline19// 6 = earth20// 7 = eldritch21// 8 = fire22// 9 = fortune23// 10 = holy24// 11 = lyric25// 12 = poison26// 13 = shadow27// 14 = void28// 15 = water29 30if not varexist _aspectCategory31 sysmsg "No aspect category set! Stopping." 5632 stop33endif34 35if not varexist _aspectType36 sysmsg "No aspect type set! Stopping." 5637 stop38endif39 40say "[aspect"41waitforgump 242429317342 43if _aspectCategory = 044 setvar! nextButton 545 setvar! activationButton 846elseif _aspectCategory = 147 setvar! nextButton 1048 setvar! activationButton 1349elseif _aspectCategory = 250 setvar! nextButton 1551 setvar! activationButton 1752endif53 54@setvar! found 055 56if _aspectCategory < 257 while not dead58 if ingump "Whirlwind" 2424293173 and _aspectType = 0 and found = 059 setvar! found 160 elseif ingump "Fortify" 2424293173 and _aspectType = 1 and found = 061 setvar! found 162 elseif ingump "Ravage" 2424293173 and _aspectType = 2 and found = 063 setvar! found 164 elseif ingump "Inspiration" 2424293173 and _aspectType = 3 and found = 065 setvar! found 166 elseif ingump "Decay" 2424293173 and _aspectType = 4 and found = 067 setvar! found 168 elseif ingump "Iron Will" 2424293173 and _aspectType = 5 and found = 069 setvar! found 170 elseif ingump "Earth Hands" 2424293173 and _aspectType = 6 and found = 071 setvar! found 172 elseif ingump "Energy Surge" 2424293173 and _aspectType = 7 and found = 073 setvar! found 174 elseif ingump "Fire Nova" 2424293173 and _aspectType = 8 and found = 075 setvar! found 176 elseif ingump "Windfall" 2424293173 and _aspectType = 9 and found = 077 setvar! found 178 elseif ingump "Judgement" 2424293173 and _aspectType = 10 and found = 079 setvar! found 180 elseif ingump "Cacophony" 2424293173 and _aspectType = 11 and found = 081 setvar! found 182 elseif ingump "Toxicity" 2424293173 and _aspectType = 12 and found = 083 setvar! found 184 elseif ingump "Vanish" 2424293173 and _aspectType = 13 and found = 085 setvar! found 186 elseif ingump "Doom Dragon" 2424293173 and _aspectType = 14 and found = 087 setvar! found 188 elseif ingump "Ice Storm" 2424293173 and _aspectType = 15 and found = 089 setvar! found 190 endif91 if found = 192 overhead "Correct aspect found!"93 waitforgump 242429317394 gumpresponse activationButton 242429317395 waitforgump 242429317396 gumpresponse activationButton 242429317397 waitforgump 242429317398 gumpresponse activationButton 242429317399 waitforgump 2424293173100 gumpclose 2424293173101 stop102 endif103 gumpresponse nextButton 2424293173104 waitforgump 2424293173105 endwhile106else107 while not dead108 if ingump "Chance to Avoid Movement Effects" 2424293173 and _aspectType = 0 and found = 0109 setvar! found 1110 elseif ingump "Exceptional Crafting Chance Bonus" 2424293173 and _aspectType = 1 and found = 0111 setvar! found 1112 elseif ingump "All Stats Increase" 2424293173 and _aspectType = 2 and found = 0113 setvar! found 1114 elseif ingump "Follower Exp Gain" 2424293173 and _aspectType = 3 and found = 0115 setvar! found 1116 elseif ingump "Gain Unholy Symbol" 2424293173 and _aspectType = 4 and found = 0117 setvar! found 1118 elseif ingump "10 Sec After Using Mana" 2424293173 and _aspectType = 5 and found = 0119 setvar! found 1120 elseif ingump "Damage Resistance While Stationary" 2424293173 and _aspectType = 6 and found = 0121 setvar! found 1122 elseif ingump "Effective Spirit Speak" 2424293173 and _aspectType = 7 and found = 0123 setvar! found 1124 elseif ingump "Field Damage Resistance" 2424293173 and _aspectType = 8 and found = 0125 setvar! found 1126 elseif ingump "Harvesting Skill Bonus" 2424293173 and _aspectType = 9 and found = 0127 setvar! found 1128 elseif ingump "Resist Per Symbol Spent" 2424293173 and _aspectType = 10 and found = 0129 setvar! found 1130 elseif ingump "Effective Barding Skill Bonus" 2424293173 and _aspectType = 11 and found = 0131 setvar! found 1132 elseif ingump "Effective Poisoning" 2424293173 and _aspectType = 12 and found = 0133 setvar! found 1134 elseif ingump "Bonus Stealth Steps" 2424293173 and _aspectType = 13 and found = 0135 setvar! found 1136 elseif ingump "Effective Parrying" 2424293173 and _aspectType = 14 and found = 0137 setvar! found 1138 elseif ingump "Effective Alchemy" 2424293173 and _aspectType = 15 and found = 0139 setvar! found 1140 endif141 if found = 1142 overhead "Correct aspect found!"143 waitforgump 2424293173144 gumpresponse activationButton 2424293173145 waitforgump 2424293173146 gumpresponse activationButton 2424293173147 waitforgump 2424293173148 gumpresponse activationButton 2424293173149 waitforgump 2424293173150 gumpclose 2424293173151 stop152 endif153 gumpresponse nextButton 2424293173154 waitforgump 2424293173155 endwhile156endif