Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ringID = 3051
- local item
- macro(10, "Equip Ring", function()
- if hppercent() <= 60 and not getFinger() then
- item = findItem(ringID)
- g_game.move(item, {x=65535, y=SlotFinger, z=0}, 1)
- elseif hppercent() >= 90 and getFinger() then
- item = getFinger()
- for _,container in pairs(getContainers()) do
- g_game.move(item, container:getSlotPosition(), 1)
- return
- end
- end
- end)
Add Comment
Please, Sign In to add comment