• WAP手机版 RSS订阅 加入收藏  设为首页
传奇脱机挂

传奇脱机挂月涯神岛+天尊故里脚本

时间:2021/5/21 17:09:52   作者:本站   来源:www.92cqg.com   阅读:670   评论:0
内容摘要:传奇脱机挂月涯神岛+天尊故里脚本:if是否存在物品("想飞就飞")<1then--药物小于1开始执行购买点击商城()等待(500)点击坐标(256,283)等待(500)点击坐标(492,487)等待(500)按键("enter")等待(200)点击坐标(492,487)等待(500)按键("enter")等待(...

传奇脱机挂月涯神岛+天尊故里脚本:


if 是否存在物品("想飞就飞")<1 then --药物小于1开始执行购买

        点击商城()
        等待(500)
        点击坐标(256,283)
        等待(500)
        点击坐标(492,487)
        等待(500)
        按键("enter")
        等待(200)
        点击坐标(492,487)
        等待(500)
        按键("enter")
        等待(200)
        点击坐标(492,487)
        等待(500)
        按键("enter")
        等待(200)
        点击商城()
    end
    if 是否存在物品("修复神水")<1 then --修复神水小于1开始执行购买
        点击商城()
        等待(500)
        点击坐标(259,216)
        等待(500)
        点击坐标(487,484)
        等待(500)
        按键("enter")
        等待(200)
        点击商城()
    end
    if 是否存在物品("想跑就跑")<1 then --药物小于1开始执行购买
        点击商城()
        等待(500)
        点击坐标(482,283)
        等待(500)
        点击坐标(484,487)
        等待(500)
        按键("enter")
        等待(200)
        点击坐标(484,487)
        等待(500)
        按键("enter")
        等待(200)
        点击坐标(484,487)
        等待(500)
        按键("enter")
        等待(200)
        点击商城()
    end

if (获取地图编号()=="M100") then
等待(500)
使用物品("想跑就跑")
等待(1000)
end

if (获取地图名()=="蛮牛通道") then
等待(500)
使用物品("想跑就跑")
等待(1000)
end

if (获取地图名()=="天道皇城决斗") 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 取标记(11)==11 then
        if 边走边打(10,6,3)==1 then  
            置标记(11,12) 
        end
    elseif 取标记(11)==12 then
        if 边走边打(5,11,3)==1 then  
            置标记(11,13) 
        end
    elseif 取标记(11)==13 then
        if 边走边打(10,16,3  )==1 then  
            置标记(11,14) 
        end
    elseif 取标记(11)==14 then
        if 边走边打(15,11,3)==1 then
            使用物品("想跑就跑")
            等待(500)  
            置标记(11,0)
        end
    else
        置标记(11,11)
    end
end

if (获取地图名()=="月涯神岛") then --此地图是打怪地图,如发现地图名字错误请修改
    if tonumber(os.time())-tonumber(取标记(6))>1200 then
        使用("修复神水")
        等待(500)
        置标记(6,tonumber(os.time()))
    end
    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 取标记(1)==11 then
        if 边走边打(621,184,5)==1 then  
            置标记(1,12) 
        end
    elseif 取标记(1)==12 then
        if 边走边打(657,327,5)==1 then  
            置标记(1,13) 
        end
    elseif 取标记(1)==13 then
        if 边走边打(555,486,5)==1 then  
            置标记(1,14) 
        end
    elseif 取标记(1)==14 then
        if 边走边打(466,595,5)==1 then  
            置标记(1,15) 
        end
    elseif 取标记(1)==15 then
        if 边走边打(300,605,5)==1 then  
            置标记(1,16) 
        end
    elseif 取标记(1)==16 then
        if 边走边打(166,552,5)==1 then  
            置标记(1,17) 
        end
    elseif 取标记(1)==17 then
        if 边走边打(183,374,5)==1 then  
            置标记(1,18) 
        end
    elseif 取标记(1)==18 then
        if 边走边打(186,212,5)==1 then  
            置标记(1,19) 
        end
    elseif 取标记(1)==19 then
        if 边走边打(312,510,5)==1 then  
            置标记(1,20) 
        end
    elseif 取标记(1)==20 then
        if 边走边打(428,356,5)==1 then  
            置标记(1,21) 
        end
    elseif 取标记(1)==21 then
        if 边走边打(420,245,5)==1 then  
            置标记(1,22) 
        end
    elseif 取标记(1)==22 then
        if 边走边打(555,344,5)==1 then  
            置标记(1,23) 
        end
    elseif 取标记(1)==23 then
        if 边走边打(444,483,5)==1 then
            置标记(1,0)  
            置标记(3,1)
        end
    else
        置标记(1,11)
    end
end

if (获取地图名()=="天尊故里") then --此地图是打怪地图,如发现地图名字错误请修改
    if tonumber(os.time())-tonumber(取标记(6))>1200 then
        使用("修复神水")
        等待(500)
        置标记(6,tonumber(os.time()))
    end
    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 边走边打(163,26,5)==1 then  
            置标记(2,12) 
        end
    elseif 取标记(2)==12 then
        if 边走边打(162,85,5)==1 then  
            置标记(2,13) 
        end
    elseif 取标记(2)==13 then
        if 边走边打(144,230,5)==1 then  
            置标记(2,14) 
        end
    elseif 取标记(2)==14 then
        if 边走边打(97,139,5)==1 then  
            置标记(2,15) 
        end
    elseif 取标记(2)==15 then
        if 边走边打(29,100,5)==1 then  
            置标记(2,16) 
        end
    elseif 取标记(2)==16 then
        if 边走边打(65,99,5)==1 then  
            置标记(2,17) 
        end
    elseif 取标记(2)==17 then
        if 边走边打(71,63,5)==1 then  
            置标记(2,18) 
        end
    elseif 取标记(2)==18 then
        if 边走边打(42,34,5)==1 then  
            置标记(2,19) 
        end
    elseif 取标记(2)==19 then
        if 边走边打(102,35,5)==1 then  
            置标记(2,0)
            置标记(3,0)
        end
    else
        置标记(2,11)
    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 血量百分比<90 then --血量低于90%不进图
        按键("呵呵")
        return
    end
    if 取标记(3)==0 then
    if 寻路(120,106,2)==1 then  --寻路到此处开始对话
        对话坐标(125,107)  --对话的NPC坐标
        等待(800)
        if 获取窗口("NPC对话框")==1 then
            点击("@月涯神岛",0)
            等待(500)
            点击("@月涯传送",0)
            等待(500)
            if 获取窗口("对话框")==1 then
                按键("enter")
                等待(500)
            end
        end
    end --此处为对话NPC结束
    elseif 取标记(3)==1 then
    if 寻路(121,104,2)==1 then  --寻路到此处开始对话
        对话坐标(125,107)  --对话的NPC坐标
        等待(800)
        if 获取窗口("NPC对话框")==1 then
            点击("@天尊故里",0)
            等待(500)
            点击("@天尊传送",0)
            等待(500)
            if 获取窗口("对话框")==1 then
                按键("enter")
                等待(500)
            end
        end
    end --此处为对话NPC结束
    end
end

标签:传奇 脱机 故里 脚本 

文章出处:传奇守护者官网

传奇pk脱机交流qq群:67838282

官方网站:http://www.92cqg.com

本站内容均来自网络如有侵犯请告知,第一时间删除

相关评论

CopyRight 传奇守护者官网 2012-2023 www.92cqg.com All Rights Reserved

本站软件仅供单服测试学习之用,勿用于非法用途,如有侵权请告知删除,速记本站:就爱传奇挂(92cqg.com)