Selfcare tamer by majky92
Related: Snippet
// --- Nastavení přepínačů ---
@setvar! heal_bandage 1
@setvar! heal_potion 1
@setvar! cure_potion 1
@setvar! pouch 1
@setvar! refresh_potion 1
@setvar! buffs_potion 1
@setvar! petHealLOOP 1
@setvar! VetSuppTimerCD 6000
settimer VetSuppTimer VetSuppTimerCD
@setvar! food 1
overhead 'Selfcare Bot ON'
while not dead
# --- HEAL PETS ---
if petHealLOOP = 1
if timer VetSuppTimer > VetSuppTimerCD
if not bandaging and not cooldown 'Vet Suply' and findtype "veterinary supplies" backpack as vetsupp
dclick vetsupp
if insysmsg 'You or your nearby followers do not require healing'
overhead 'Pets HP FULL' 69
endif
cooldown "Vet Supply" VetSuppTimerCD
settimer VetSuppTimer 0
endif
endif
endif
# --- HEALING ---
if heal_bandage = 1
if hp < 50 and not bandaging
if findtype 3617 backpack
hotkey 'Bandage Self'
wait 500
endif
endif
endif
if heal_potion = 1
if hp < 35 and not cooldown "Heal Potion" and findtype 3852 backpack
hotkey 'Drink Heal'
overhead 'Heal Potion' 53
wait 500
endif
endif
if cure_potion = 1
if poisoned and hp < 70 and findtype 3847 backpack
hotkey 'Drink Cure'
overhead 'Cure Potion' 53
wait 500
endif
endif
if pouch = 1
if paralyzed
say [pouch
endif
endif
if refresh_potion = 1
if stam < 20 and findtype 3851 backpack
hotkey 'Drink Refresh'
overhead 'Refresh Potion' 53
wait 350
endif
endif
# --- AUTO BUFF POTIONS ---
if buffs_potion = 1
if warmode 1
if not findbuff 'Strength' and findtype 3849 backpack
hotkey 'Drink Strength'
overhead 'STR Potion' 53
wait 1000
endif
if not findbuff 'Agility' and findtype 3848 backpack
hotkey 'Drink Agility'
overhead 'AGI Potion' 53
wait 1000
endif
if not findbuff 'Magic Resist' and findtype 3846 backpack
hotkey 'Drink Magic Resist'
overhead 'MR Potion' 53
wait 1000
endif
endif
endif
# --- OSTATNI ---
if food = 1
if not findbuff 'Food Satisfaction' and findtype 'tray' backpack as jidlo
dclick jidlo
wait 200
endif
endif
endwhile







