Can anyone create a persistent that will use an Item ID (like rotworm stew) on low HP. A priority over anything else in the bot. Thanks
Can anyone create a persistent that will use an Item ID (like rotworm stew) on low HP. A priority over anything else in the bot. Thanks
init start
local itemToUse = "rotworm stew"
local rangeToUse = math.random(1200, 2000) -- I am using current hp, instead of pc, because when you use this kind of food, you usually look at your hp and think: well, i have 2k hp, i shud use my food xD
setpriority(100, 0, 1000, 10000, false)
init end
auto(100, 200) dontlist()
if $hp <= rangeToUse then
useitem(itemToUse) wait(60*15*1000)
end
I recommend you to have rotworm stew in any Tibia Hotkey, if you don't use Fast Hotkeys (wind addons) bro.
Last edited by Donatello; 02-14-2017 at 03:31 AM.
Thats bro, s2. I owe you 1k more favors lol