Omni-MirrRodSphere.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/867c3546-d8d6-4fbd-9cbc-383cc4fd7cf1 for latest2# Automation by Jaseowns3## Script: Omni-MirrRodSphere4## Created by: montie1123#05#############################################6 7overhead "Auto Omni Activated" 888#Config9@setvar! jaseowns_UseAbility1 010@setvar! jaseowns_UseAbility2 011@setvar! jaseowns_UseAbility3 112@setvar! jaseowns_UseAbilityTimerCD 300013@setvar! automaticallyDrinkStrPot 114@setvar! automaticallyDrinkAgiPot 115@setvar! automaticallyDrinkMagicPot 116@setvar! drinkThosePots 117@setvar! globalTimeout 60018@setvar! automaticallyDrinkRefreshPot 119@setvar! stamDiffCheckToTriggerRedPotion 1520 21#Start of Script22if not timerexists jaseowns_UseAbility1Timer23 settimer jaseowns_UseAbility1Timer 3000024endif25if not timerexists jaseowns_UseAbility2Timer26 settimer jaseowns_UseAbility2Timer 3000027endif28if not timerexists jaseowns_UseAbility3Timer29 settimer jaseowns_UseAbility3Timer 3000030endif31if not timerexists 'Chivalry7'32 createtimer 'Chivalry7'33 settimer 'Chivalry7' 3100034endif35 36if not timerexists 'Chivalry10'37 createtimer 'Chivalry10'38 settimer 'Chivalry10' 3100039endif40 41 42while not dead43 # SE ALIMENTA 44 if not findbuff "Food Satisfaction"45 if findtype 'tray' backpack46 overhead '[Se Alimentado]' 7747 dclicktype 'tray'48 wait 30049 endif50 endif51 52 # Bandages53 if skill 'Healing' >= 80 and hp < maxhp and findtype "clean bandage%s%" backpack and not bandaging54 hotkey 'Bandage Self'55 elseif skill 'Healing' >= 80 and not findtype "clean bandage%s%" backpack56 overhead "No bandages"57 endif58 # Heal pot59 if hp <= 80 and findtype "Yellow Potion" backpack as pot60 getlabel pot healPotDesc61 if "next usable" in healPotDesc62 //do nothing63 else64 dclick pot65 overhead "Heal pot drank"66 endif67 endif68 # Refresh pot69 if automaticallyDrinkRefreshPot = 1 and diffstam >= stamDiffCheckToTriggerRedPotion70 if findtype "Red Potion" self as jotion71 overhead "Refresh Potion"72 dclick jotion73 wait globalTimeout74 else75 overhead "No Refresh potion found!" 3476 endif77 endif78 79 # (CHIVALRY 7) HEAL 80 if timer 'Chivalry7' > 31000 and hits < 4081 say '[chivalry7'82 wait 30083 if insysmsg 'Whom do you wish'84 target self85 settimer 'Chivalry7' 086 endif87 endif88 89 # (CHIVALRY 10) HEAL 90 if timer 'Chivalry10' > 31000 and hits < 3091 overhead '[TENTANDO HEALL COM CHIVALRY]' 7792 say '[chivalry10'93 wait 50094 settimer 'Chivalry10' 095 endif96 97 98 # Kill Rods!!99 if findtype 51044|31813|37867|63613|63609|37461|47189|37481|28185 ground -1 -1 2 as MirrRodSphere100 dclick MirrRodSphere101 ignore MirrRodSphere102 endif103 104 105 # Omni Attack106 if findtype 'a rift daemon|a lesser rift daemon|an astral projection|a rift cultist|a rift warrior|a rift footman' ground any any 12 as myTarget107 attack myTarget108 109 #Weapon Skill110 if jaseowns_UseAbility1 = 1 and timer jaseowns_UseAbility1Timer >= jaseowns_UseAbilityTimerCD111 say "[WeaponAbility1"112 getlabel backpack jaseowns_PingCheck 113 if insysmsg "You do cannot perform that ability yet."114 settimer jaseowns_UseAbility1Timer 0115 elseif insysmsg "You have not yet unlocked that weapon ability."116 @setvar! jaseowns_UseAbility1 0117 else118 settimer jaseowns_UseAbility1Timer 0 119 endif120 endif 121 if jaseowns_UseAbility2 = 1 and timer jaseowns_UseAbility2Timer >= jaseowns_UseAbilityTimerCD122 say "[WeaponAbility2"123 getlabel backpack jaseowns_PingCheck 124 if insysmsg "You do cannot perform that ability yet."125 settimer jaseowns_UseAbility2Timer 0126 elseif insysmsg "You have not yet unlocked that weapon ability."127 @setvar! jaseowns_UseAbility2 0128 else129 settimer jaseowns_UseAbility2Timer 0 130 endif131 endif 132 if jaseowns_UseAbility3 = 1 and timer jaseowns_UseAbility3Timer >= jaseowns_UseAbilityTimerCD133 say "[WeaponAbility3"134 getlabel backpack jaseowns_PingCheck 135 if insysmsg "You do cannot perform that ability yet."136 settimer jaseowns_UseAbility3Timer 0137 elseif insysmsg "You have not yet unlocked that weapon ability."138 @setvar! jaseowns_UseAbility3 0139 else140 settimer jaseowns_UseAbility3Timer 0 141 endif142 endif 143 endif144 145 # Buff Potions146 @setvar! needStrBuff 0147 @setvar! needDexBuff 0148 @setvar! needMagicBuff 0149 if automaticallyDrinkStrPot = 1 and drinkThosePots = 1 and not findbuff "Strength"150 @setvar! needStrBuff 1151 endif152 153 if automaticallyDrinkAgiPot = 1 and drinkThosePots = 1 and not findbuff "Agility"154 @setvar! needDexBuff 1 155 endif156 157 if automaticallyDrinkMagicPot = 1 and drinkThosePots = 1 and not findbuff "Magic Resist Potion"158 @setvar! needMagicBuff 1 159 endif160 if needStrBuff = 1 and not findtype "White Potion" self161 @setvar! needStrBuff 0162 endif163 164 if needDexBuff = 1 and not findtype "Blue Potion" self165 @setvar! needDexBuff 0166 endif167 168 if needMagicBuff = 1 and not findtype "Black Potion" self169 @setvar! needMagicBuff 0170 endif171 if needStrBuff = 1172 if findtype "White Potion" self as jotion173 overhead "Strength Potion"174 dclick jotion175 wait globalTimeout176 else177 overhead "No STR potion found!" 34178 endif179 endif180 if needDexBuff = 1181 if findtype "Blue Potion" self as jotion182 overhead "Agility Potion"183 dclick jotion184 wait globalTimeout185 else186 overhead "No AGI potion found!" 34187 endif188 endif189 if needMagicBuff = 1190 if findtype "Black Potion" self as jotion191 overhead "Resist Potion"192 dclick jotion193 wait globalTimeout194 else195 overhead "No MR potion found!" 34196 endif197 endif 198endwhile199 200while dead 201 if gumpexists 2957810225202 gumpresponse 1 2957810225203 break204 endif205 overhead 'rip'206 wait 1000207endwhile