fala @Raphael,
tem como ajudar no juicy collector de oramond? valeu man
fala @Raphael,
tem como ajudar no juicy collector de oramond? valeu man
Try this out:
init start
-- local SCRIPT_VERSION = '1.0.0'
-- DO NOT EDIT BELOW THIS LINE --
local readyRootIds = {21104, 21105}
local lootId = 21291
local function findrootspots()
for x, y in screentiles(ORDER_RADIAL, topuseitem) do
if table.find(readyRootIds, topuseitem(x, y, $posz).id) then
return {x = x, y = y}
end
end
return nil
end
init end
auto(100)
if $lootsaround == 0 and $targetingtarget.hppc == 0 then
local bestSpot = findrootspots()
while bestSpot ~= nil do
pausewalking(6^9) -- Yeah babe!
if bestSpot ~= nil then
local lootCount = itemcount(lootId)
reachlocation(bestSpot.x, bestSpot.y, $posz)
waitping()
useitem(0, ground(bestSpot.x, bestSpot.y, $posz))
waitping()
if itemcount(lootId) > lootCount then
increaseamountlooted(lootId, itemcount(lootId) - lootCount)
end
end
-- If starting conditions are no longer met, abort mission!
if $lootsaround ~= 0 or $targetingtarget.hppc ~= 0 then
break
end
bestSpot = findrootspots()
end
pausewalking(0) -- Orgasm.
end