Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
BY YUCKMOUTH ONE-TIME STARTUP ACTIONS
Taming
Selfcare Tamer Bot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/607b43cd-367c-400e-a47e-7d43d62ffff0 for latest2# Automation by Jaseowns3## Script: Selfcare Tamer Bot4## Created by: sic3466#05#############################################6 7// SELFCARE TAMER BOT BY YUCKMOUTH8// =======================================9// ONE-TIME STARTUP ACTIONS10// =======================================11hotkey 'Dress: Yuckmouth'12wait 50013 14 15@setvar! heal_potion 116@setvar! cure_potion 117@setvar! pouch 118@setvar! refresh_potion 119@setvar! buffs_potion 120@setvar! petHealLOOP 121@setvar! food 122@setvar! amountOfGoldToDrop 66623 24 25// -----------------------------26// MAX HEALTH CONFIG27// -----------------------------28@setvar! MaxHealth 12029 30 31// -----------------------------32// VET HEART COUNTDOWN STATE33// -----------------------------34@setvar! VetPulseActive 035@setvar! VetPulseStep 036@setvar! VetPulseCD 100037settimer VetPulseTimer 038 39 40// -----------------------------41// SELFCARE ACTIVE PULSE42// -----------------------------43@setvar! SelfcarePulseCD 1000044settimer SelfcarePulseTimer 045 46 47// -----------------------------48// Vet supply cooldown (ms)49// -----------------------------50@setvar! VetSuppTimerCD 600051settimer VetSuppTimer 99999952 53 54// -----------------------------55// Potion throttles (ms)56// -----------------------------57@setvar! HealPotionCD 90058@setvar! CurePotionCD 90059@setvar! RefreshPotionCD 80060@setvar! BuffPotionCD 180061@setvar! PouchCD 70062 63settimer HealPotionTimer 064settimer CurePotionTimer 065settimer RefreshPotionTimer 066settimer BuffPotionTimer 067settimer PouchTimer 068 69 70// -----------------------------71// Overweight message throttle72// -----------------------------73@setvar! overweightMessageCD 200074settimer overweightMessageTimer 075 76 77// -----------------------------78// INITIAL OVERHEAD79// -----------------------------80overhead 'SELFCARE ACTIVE'81 82 83while not dead84 85 // =====================================================86 // SELFCARE ACTIVE PULSE (EVERY 10 SECONDS)87 // =====================================================88 if VetPulseActive = 089 if timer SelfcarePulseTimer > SelfcarePulseCD90 overhead 'SELFCARE ACTIVE' 5391 settimer SelfcarePulseTimer 092 endif93 endif94 95 96 // =====================================================97 // VET HEART COUNTDOWN (NON-BLOCKING)98 // =====================================================99 if VetPulseActive = 1100 if timer VetPulseTimer > VetPulseCD101 102 if VetPulseStep = 4103 overhead 'eeee' 53104 @setvar! VetPulseStep 3105 106 else107 if VetPulseStep = 3108 overhead 'eee' 53109 @setvar! VetPulseStep 2110 111 else112 if VetPulseStep = 2113 overhead 'ee' 53114 @setvar! VetPulseStep 1115 116 else117 if VetPulseStep = 1118 overhead 'e' 53119 @setvar! VetPulseStep 0120 endif121 endif122 endif123 endif124 125 settimer VetPulseTimer 0126 127 if VetPulseStep = 0128 @setvar! VetPulseActive 0129 overhead 'SELFCARE ACTIVE' 53130 settimer SelfcarePulseTimer 0131 endif132 133 endif134 endif135 136 137 // =====================================================138 // 1) VET SUPPLY HIGHEST PRIORITY139 // =====================================================140 if petHealLOOP = 1141 if hp < MaxHealth142 if not bandaging143 if timer VetSuppTimer > VetSuppTimerCD144 if findtype 'veterinary supplies' backpack as vetsupp145 146 dclick vetsupp147 settimer VetSuppTimer 0148 wait 400149 150 if VetPulseActive = 0151 @setvar! VetPulseActive 1152 overhead 'eeeee' 53153 @setvar! VetPulseStep 4154 settimer VetPulseTimer 0155 endif156 157 endif158 endif159 endif160 endif161 endif162 163 164 // =====================================================165 // 2) HEAL POTION166 // =====================================================167 if heal_potion = 1168 if hp < 60169 if timer HealPotionTimer > HealPotionCD170 hotkey 'Drink Heal'171 overhead 'Heal Potion' 53172 settimer HealPotionTimer 0173 wait 350174 endif175 endif176 endif177 178 179 // =====================================================180 // 3) CURE / PANACEA181 // =====================================================182 if cure_potion = 1183 if timer CurePotionTimer > CurePotionCD184 185 if poisoned186 hotkey 'Drink Cure'187 overhead 'Cure (Poison)' 53188 settimer CurePotionTimer 0189 wait 350190 191 else192 if findbuff 'Diseased'193 hotkey 'Drink Cure'194 overhead 'Cure (Disease)' 53195 settimer CurePotionTimer 0196 wait 350197 198 else199 if findbuff 'Bleeding'200 hotkey 'Drink Cure'201 overhead 'Cure (Bleed)' 53202 settimer CurePotionTimer 0203 wait 350204 endif205 endif206 endif207 208 endif209 endif210 211 212 // =====================================================213 // 4) REFRESH POTION214 // =====================================================215 if refresh_potion = 1216 if stam < 50217 if timer RefreshPotionTimer > RefreshPotionCD218 hotkey 'Drink Refresh'219 overhead 'Refresh Potion' 53220 settimer RefreshPotionTimer 0221 wait 300222 endif223 endif224 endif225 226 227 // =====================================================228 // 5) BUFF POTIONS WARMODE ONLY229 // =====================================================230 if buffs_potion = 1231 if warmode 1232 if timer BuffPotionTimer > BuffPotionCD233 234 if not findbuff 'Strength'235 hotkey 'Drink Strength'236 overhead 'STR Potion' 53237 settimer BuffPotionTimer 0238 wait 900239 endif240 241 if not findbuff 'Agility'242 hotkey 'Drink Agility'243 overhead 'AGI Potion' 53244 settimer BuffPotionTimer 0245 wait 900246 endif247 248 if not findbuff 'Magic Resist'249 hotkey 'Drink Magic Resist'250 overhead 'MR Potion' 53251 settimer BuffPotionTimer 0252 wait 900253 endif254 255 endif256 endif257 endif258 259 260 // =====================================================261 // 6) POUCH PARALYSIS262 // =====================================================263 if pouch = 1264 if paralyzed265 if timer PouchTimer > PouchCD266 say [pouch267 settimer PouchTimer 0268 wait 200269 endif270 endif271 endif272 273 274 // =====================================================275 // 7) OVERWEIGHT GOLD DROP276 // =====================================================277 if weight > maxweight278 279 if timer overweightMessageTimer > overweightMessageCD280 overhead 'Overweight !!' 34281 settimer overweightMessageTimer 0282 endif283 284 if amountOfGoldToDrop > 0285 if findtype 3821 backpack as goldpile286 lift goldpile amountOfGoldToDrop287 droprelloc 0 0288 wait 300289 overhead '* Gold Dropped *' 55290 endif291 endif292 293 endif294 295 296 // =====================================================297 // 8) FOOD / AUTO-EAT298 // =====================================================299 if food = 1300 if not findbuff 'Food Satisfaction'301 if findtype 'tray' backpack as foodtray302 dclick foodtray303 wait 300304 endif305 endif306 endif307 308 309 wait 60310 311endwhile312 