if tonumber(os.time())-tonumber(取标记(6))>1200 then --1200秒使用一次修复
使用("修复神水")
等待(500)
if 是否存在物品("修复神水")<1 then --修复神水小于1开始执行购买
点击商城()
等待(500)
点击坐标(209,65)
等待(500)
点击坐标(434,122)
等待(500)
点击坐标(358,391)
等待(500)
按键("enter")
等待(200)
点击商城()
end
置标记(6,tonumber(os.time()))
end
if (获取地图名()=="遗忘副本1-红狼") then --此地图是打怪地图,如发现地图名字错误请修改
if 获取窗口("NPC对话框")==1 then
按键("esc")
end
if 获取窗口("对话框")==1 then
按键("enter")
end
if 获取窗口("包裹")==1 then
按键("f9")
end
丢弃物品()
if (角色("死亡")==1) then
小退()
end
if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
回收()
end
if 取标记(2)==11 then
if 边走边打(19,87,5)==1 then
置标记(2,12)
end
elseif 取标记(2)==12 then
if 边走边打(50,50,5)==1 then
置标记(2,13)
end
elseif 取标记(2)==13 then
if 边走边打(22,27,5)==1 then
置标记(2,14)
end
elseif 取标记(2)==14 then
if 边走边打(54,22,5)==1 then
置标记(2,15)
end
elseif 取标记(2)==15 then
if 边走边打(85,47,5)==1 then
置标记(2,16)
end
elseif 取标记(2)==16 then
if 边走边打(81,20,0)==1 then
置标记(2,0)
置标记(3,11)
end
else
置标记(2,11)
end
end
if (获取地图名()=="遗忘副本2-红狼") then --此地图是打怪地图,如发现地图名字错误请修改
if 获取窗口("NPC对话框")==1 then
按键("esc")
end
if 获取窗口("对话框")==1 then
按键("enter")
end
if 获取窗口("包裹")==1 then
按键("f9")
end
丢弃物品()
if (角色("死亡")==1) then
小退()
end
if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
回收()
end
if 取标记(3)==11 then
if 边走边打(19,50,5)==1 then
置标记(3,12)
end
elseif 取标记(3)==12 then
if 边走边打(32,64,5)==1 then
置标记(3,13)
end
elseif 取标记(3)==13 then
if 边走边打(46,79,5)==1 then
置标记(3,14)
end
elseif 取标记(3)==
下一篇:简单辅助免费版3.8更新下载