旗下产品

GEE定制版5个地图随机循环挂机脚本范本

时间:2022/1/2 15:55:16  作者:秒杀辅助  来源:  查看:210093  评论:0
内容摘要:function 回收() --回收子程序 点击坐标(396,57) 等待(500) 点击坐标(68,86) 等待(500) 点击坐标(80,87) 等待(500) 点击坐标(80,87) 等待(500)end------------...
function 回收() --回收子程序
 
 点击坐标(396,57)
 等待(500)
 点击坐标(68,86)
 等待(500)
 点击坐标(80,87)
 等待(500)
 点击坐标(80,87)
 等待(500)
end
-------------------------
if (获取地图名()=="魔龙禁地") then --此地图是打怪地图,如发现地图名字错误请修改
 if 获取窗口("NPC对话框")==1 then
  按键("esc")
 end
 if 获取窗口("对话框")==1 then
  按键("enter")
 end
 if 获取窗口("包裹")==1 then
  按键("f9")
 end
 设置挂机点("89,82|25,20|39,65|65,43")
 丢弃物品()
 if (角色("死亡")==1) then
  小退()
 end
 if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
  回收()
 else
  开始打怪()
 end
end
---------------------------------------挂机地图1
if (获取地图名()=="雪域冰宫") then --此地图是打怪地图,如发现地图名字错误请修改
 if 获取窗口("NPC对话框")==1 then
  按键("esc")
 end
 if 获取窗口("对话框")==1 then
  按键("enter")
 end
 if 获取窗口("包裹")==1 then
  按键("f9")
 end
 设置挂机点("89,82|25,20|39,65|65,43|92,76|23,17|19,56|81,19|65,66")
 丢弃物品()
 if (角色("死亡")==1) then
  小退()
 end
 if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
  回收()
 else
  开始打怪()
 end
end
---------------------------------------挂机地图2
if (获取地图名()=="深渊龙穴") then --此地图是打怪地图,如发现地图名字错误请修改
 if 获取窗口("NPC对话框")==1 then
  按键("esc")
 end
 if 获取窗口("对话框")==1 then
  按键("enter")
 end
 if 获取窗口("包裹")==1 then
  按键("f9")
 end
 设置挂机点("80,21|21,25|81,84|27,80|51,52")
 丢弃物品()
 if (角色("死亡")==1) then
  小退()
 end
 if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
  回收()
 else
  开始打怪()
 end
end
---------------------------------------挂机地图3
if (获取地图名()=="轩辕暗阁") then --此地图是打怪地图,如发现地图名字错误请修改
 if 获取窗口("NPC对话框")==1 then
  按键("esc")
 end
 if 获取窗口("对话框")==1 then
  按键("enter")
 end
 if 获取窗口("包裹")==1 then
  按键("f9")
 end
 设置挂机点("80,22|27,23|14,71|77,67|52,58")
 丢弃物品()
 if (角色("死亡")==1) then
  小退()
 end
 if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
  回收()
 else
  开始打怪()
 end
end
---------------------------------------挂机地图4
if (获取地图名()=="狐狸山庄") then --此地图是打怪地图,如发现地图名字错误请修改
 if 获取窗口("NPC对话框")==1 then
  按键("esc")
 end
 if 获取窗口("对话框")==1 then
  按键("enter")
 end
 if 获取窗口("包裹")==1 then
  按键("f9")
 end
 设置挂机点("78,28|27,73|75,70|50,27|56,52")
 丢弃物品()
 if (角色("死亡")==1) then
  小退()
 end
 if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
  回收()
 else
  开始打怪()
 end
end
------------------------------------------------------挂机地图5
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%不进图
  按键("esc")
  return
 end
 math.randomseed(tostring(os.time()): reverse():sub(1,6))  --毫秒级随机库
 随机进入=math.random(0,4) --随机0-4 表示随机5个地图
 if 随机进入==0 then --0进入挂机地图1
  if 寻路(337,346,2)==1 then  --寻路到此处开始对话
   对话坐标(342,353)  --对话的NPC坐标
   等待(800)
   if 获取窗口("NPC对话框")==1 then
    点击("@进入1",0)
    等待(500)
    if 获取窗口("对话框")==1 then
     按键("enter")
     等待(500)
    end
   end
  end
 elseif 随机进入==1 then --1进入挂机地图2
  if 寻路(339,350,2)==1 then  --寻路到此处开始对话
   对话坐标(340,352)  --对话的NPC坐标
   等待(800)
   if 获取窗口("NPC对话框")==1 then
    点击("@进入1",0)
    等待(500)
    if 获取窗口("对话框")==1 then
     按键("enter")
     等待(500)
    end
   end
  end
 elseif 随机进入==2 then --2进入挂机地图3
  if 寻路(339,350,2)==1 then  --寻路到此处开始对话
   对话坐标(338,352)  --对话的NPC坐标
   等待(800)
   if 获取窗口("NPC对话框")==1 then
    点击("@进入1",0)
    等待(500)
    if 获取窗口("对话框")==1 then
     按键("enter")
     等待(500)
    end
   end
  end
 elseif 随机进入==3 then --3进入挂机地图4
  if 寻路(339,350,2)==1 then  --寻路到此处开始对话
   对话坐标(336,352)  --对话的NPC坐标
   等待(800)
   if 获取窗口("NPC对话框")==1 then
    点击("@进入1",0)
    等待(500)
    if 获取窗口("对话框")==1 then
     按键("enter")
     等待(500)
    end
   end
  end
 elseif 随机进入==4 then --4进入挂机地图5
  if 寻路(339,350,2)==1 then  --寻路到此处开始对话
   对话坐标(334,352)  --对话的NPC坐标
   等待(800)
   if 获取窗口("NPC对话框")==1 then
    点击("@进入1",0)
    等待(500)
    if 获取窗口("对话框")==1 then
     按键("enter")
     等待(500)
    end
   end
  end
 end
end
秒杀辅助专业传奇SF辅助加速工具,秒过市面上各种最新传奇登陆器, 是目前市场上最稳稳定、最强大的辅助,售后承若:本站购买包调试,让你最短的时间里就可以快速上手!若有侵权内容请联系站长删除,版权归秒杀辅助官方所有!皖ICP备15016582号-1
Powered by OTCMS V2.80