Back to "heal" tags

Healing Loop - Only instant effects by Brozan (Syal)

Description: Does not do anything that can pause a character. Does not use cure pots

# Clear sys messaages clearsysmsg @setvar onABoat 0 if not timerexists "healpot" createtimer "healpot" settimer "healpot" 8000 endif if not timerexists "aid time" createtimer "aid time" settimer "aid time" 8000 endif if not timerexists "shroomy" createtimer "shroomy" settimer "shroomy" 61000 endif if not timerexists "spyGlassPeek" createtimer 'spyGlassPeek' settimer 'spyGlassPeek' 0 endif while not dead # If hidden, skip if hidden continue endif #spyglass routine if onABoat = 1 and timer "spyGlassPeek" > 6500 and findtype 'spyglass' self gumpclose 2890020940 wait 250 gumpclose 2890020940 wait 250 dclicktype 'spyglass' waitfortarget 1200 target 'self' wait 350 gumpresponse 4 2890020940 wait 350 settimer "spyGlassPeek" 0 endif if insysmsg 'you cannot move!' overhead 'Paralyzed!' 34 say [pouch endif #Eat a magic mushroom if we have #25 less mana than full if mana < 70 and skill 'Magery' > 50 and timer "shroomy" >= 61000 dclicktype '29012' overhead 'Mushroom Power!' settimer "shroomy" 0 endif # Healing Survival if skill 'Healing' > 1 and skill 'veterinary' < 1 if insysmsg 'You begin applying the bandages' settimer 'aid time' 0 endif if hits < maxhits and timer 'aid time' > 10250 hotkey 'bandage self' settimer 'aid time' 0 endif endif if not findtype "Yellow Potion" backpack overhead 'Out of heal potions!' 34 wait 200 endif //Heal drinker if below 45 if hp < 45 if findtype "Yellow Potion" backpack if timer "healpot" >= 1000 overhead 'Drinking heal!' potion "heal" wait 200 settimer "healpot" 0 endif endif endif wait 100 endwhile