Untitled

 avatar
unknown
plain_text
2 years ago
334 B
11
Indexable
local potionsId = {36725, 0000, 0000}
local minStaminaHoursLeft = 14
macro(1000, "Stamina Potion", function()
    if stamina() < minStaminaHoursLeft * 60 then
        for _, potId in ipairs(potionsId) do
            if findItem(potId) then 
                return g_game.use(findItem(potId)) 
            end
        end
     end
end)
Editor is loading...
Leave a Comment