end
if (获取地图名()=="汉罗平原") then --此地图是打怪地图,如发现地图名字错误请修改
if 获取窗口("NPC对话框")==1 then
按键("esc")
end
if 获取窗口("对话框")==1 then
按键("enter")
end
if 获取窗口("包裹")==1 then
按键("f9")
end
if 取物品数量("随机传送石")<2 then --药物小于1开始执行购买
点击商城()
等待(500)
点击坐标(415,93)
等待(500)
点击坐标(618,147)
等待(500)
点击坐标(665,406)
等待(500)
按键("enter")
等待(200)
点击商城()
end
if 是否存在物品("修复神水")<1 then --修复神水小于1开始执行购买
点击商城()
等待(500)
点击坐标(409,95)
等待(500)
点击坐标(450,191)
等待(500)
点击坐标(662,410)
等待(500)
按键("enter")
等待(200)
点击商城()
end
if 是否存在物品("主城传送石")<1 then --药物小于1开始执行购买
点击商城()
等待(500)
点击坐标(415,97)
等待(500)
点击坐标(460,152)
等待(500)
点击坐标(657,410)
等待(500)
按键("enter")
等待(200)
点击商城()
end
if 检测耐久()==1 then --检测耐久不足5%修复
使用("修复神水") --物品名称自己改
end
设置挂机点("108,133|422,155|682,147|645,376|631,572|366,659|98,499|108,263|118,467|422,464|315,644|543,528|526,342|258,236|255,409")
丢弃物品()
if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
回收()
else
开始打怪()
end
end
if (获取地图名()=="魂域大陆") then --此地图进图,如发现地图名字错误请修改
血量=角色("当前HP")
最大血量=角色("最大HP")
血量百分比=(血量/最大血量)*100
if 检测复活()==1 then --判断可不删除
按键("呵呵")
return
end
if 获取窗口("包裹")==1 then
按键("f9")
end
if 获取窗口("NPC对话框")==1 then
按键("esc")
end
if 获取窗口("对话框")==1 then
按键("enter")
end
if 是否存在物品("主城传送石")<1 then --药物小于1开始执行购买
点击商城()
等待(500)
点击坐标(415,97)
等待(500)
点击坐标(460,152)
等待(500)
点击坐标(657,410)
等待(500)
按键("enter")
等待(200)
点击商城()
end
if 血量百分比<90 then --血量低于90%不进图
if 寻路(319,345,2)==1 then --寻路到此处开始对话
对话坐标(318,349) --对话的NPC坐标
等待(4000)
end --此处为对话NPC结束
return
end
if 寻路(319,343,2)==1 then --寻路到此处开始对话
对话坐标(313,347) --对话的NPC坐标
等待(800)
if 获取窗口("NPC对话框")==1 then
点击("@买1",0)
等待(500)
if 获取窗口("对话框")==1 then
按键("enter")
等待(500)
end
end
end --此处为对话NPC结束
end
if (获取地图名()=="冒险家营地") then --此地图进图,如发现地图名字错误请秒杀辅助上面重新修改
血量=角色("当前HP")
最大血量=角色("最大HP")
血量百分比=(血量/最大血量)*100
if 检测复活()==1 then --判断可不删除
按键("呵呵")
return
end
if 获取窗口("包裹")==1 then
按键("f9")
end
if 获取窗口("NPC对话框")==1 then
按键("esc")
end
if 获取窗口("对话框")==1 then
按键("enter")
end
if 血量百分比<90 then --血量低于90%不进图
按键("呵呵")
return
end
if 寻路(740,90,2)==1 then --寻路到此处开始对话
对话坐标(739,86) --对话的NPC坐标
等待(800)
if 获取窗口("NPC对话框")==1 then
点击("@买1",0)
等待(500)
if 获取窗口("对话框")==1 then
按键("enter")
等待(500)
end
end
end --此处为对话NPC结束
end