找回密码
 注册
搜索
查看: 1286|回复: 17

请教下 蝴蝶谷 老失败,mush这块怎么改?

[复制链接]
门派:少林派
发表于 2019-5-21 10:12:40 | 显示全部楼层 |阅读模式
请问下各位师兄,这块怎么处理啊---------
门派:天龙寺
发表于 2019-5-21 13:50:42 | 显示全部楼层
蝴蝶谷,是胡青牛那里吧,这个只能放弃吧~~~
门派:少林派
 楼主| 发表于 2019-5-21 14:57:43 | 显示全部楼层
看帖子说夙兴可以进去,但没找到具体帖子
门派:天龙寺
发表于 2019-5-21 20:52:59 | 显示全部楼层
这个是可以进去的,稍等等,我把代码发上来
门派:天龙寺
发表于 2019-5-21 21:50:30 | 显示全部楼层
说明:引用岛主发的贴子,尊重原著:
1.打开lujing.lua,添加如下代码:
hdgleavein=function()
DeleteTriggerGroup("miaopucheck")
create_trigger_t('miaopucheck1','^>*\\s*你乱走一气,忽然眼前一亮,来到一处草径','','hdgupp')   
create_trigger_t('miaopucheck2','^>*\\s*你把 "action" 设定为 "离开花圃了吗" 成功完成。','','hdgingoon')   
SetTriggerOption("miaopucheck1","group","miaopucheck")
SetTriggerOption("miaopucheck2","group","miaopucheck")
EnableTriggerGroup("miaopucheck",true)
      hdgup=0
      if flag.find==1 then return end        
      exe('nd')
          return hdgdown()
end
hdgupp=function()
        EnableTimer('walkWait4',false)
        if flag.find==1 then return end
        hdgup=1
        wait.make(function()
            wait.time(1)
            return hdgingoon()
        end)
end
hdgdown=function()
        if flag.find==1 then return end
        hdgup=0
        create_timer_s('walkWait4',0.5,'hdgrun')
end
hdgrun=function()
   exe('nd;n;n;nd;n;n;nd;n;n;nd;n;n;yun jing;yun jingli')
end
hdgingoon=function()
        if flag.find==1 then return end
        EnableTriggerGroup("miaopucheck",true)        
        if hdgup==0 then
                return hdgdown()
        else
                hdgup=0
            EnableTriggerGroup("miaopucheck",false)        
            exe('n;n')
            return walk_wait()
        end
end
bohuacong=function()
            exe('opendoor;tell zhou 开门;whisper startd 开门')
               
                wait.make(function()
                wait.time(0.5)
                exe('right')
                end)
            wait.make(function()
            wait.time(0.5)
            locate_finish='bohuaconggo'
                return fastLocate()
            end)
    end
bohuaconggo=function()
            locate_finish=0
            if locl.room=="花丛中" then
                            EnableTriggerGroup("hdghuacong",false)
                return walk_wait()
            else
                        return go_locate()
                end
end
2.打开rooms.lua
Room {
        id = "mingjiao/hdg/niupeng",
        name = "牛棚",
        outdoor = "蝴蝶谷",
       
                 ways = {
                ["south"] = "mingjiao/hdg/kongdi",
                --["northdown"] = "mingjiao/hdg/caojing",
                ["#hdgleavein"] = "mingjiao/hdg/caojing",         
        },
}
Room {
        id = "mingjiao/hdg/shanbi",
        name = "山壁",
        outdoor = "蝴蝶谷",
        ways = {
                ["south"] = "city/wroad3",
                --["right"] = "mingjiao/hdg/huacong1",
                ["#bohuacong"] = "mingjiao/hdg/huacong1",
        },
        nolooks = {
                ["#bohuacong"] = true,
        },

}
门派:天龙寺
发表于 2019-5-21 22:46:49 | 显示全部楼层
zhaoziyu@tj 发表于 2019-5-21 21:50
说明:引用岛主发的贴子,尊重原著:
1.打开lujing.lua,添加如下代码:
hdgleavein=function()

师弟,我用的是岛主老的路径,下面这个room的新版请发一下,谢谢!

Room {
        id = "mingjiao/hdg/huapu1",
        name = "花圃",
        ways = {
            ["#hdgleavein"] = "mingjiao/hdg/caojing",
                ["south;south;south;south;south;south;south;southup"] = "mingjiao/hdg/niupeng",
                ["south"] = "mingjiao/hdg/huapu1",
                ["north"] = "mingjiao/hdg/huapu1",
                ["east"] = "mingjiao/hdg/huapu1",
                ["west"] = "mingjiao/hdg/huapu1",
        },
}


门派:天龙寺
发表于 2019-5-21 22:47:42 | 显示全部楼层
zhaoziyu@tj 发表于 2019-5-21 21:50
说明:引用岛主发的贴子,尊重原著:
1.打开lujing.lua,添加如下代码:
hdgleavein=function()

我记得我是改了好几个房间的
门派:天龙寺
发表于 2019-5-21 23:25:39 | 显示全部楼层
xlang@tj 发表于 2019-5-21 22:47
我记得我是改了好几个房间的

花圃这里没改啊,就改我上面的,能正常进蝴蝶谷做任务
门派:天龙寺
发表于 2019-5-21 23:27:10 | 显示全部楼层
xlang@tj 发表于 2019-5-21 22:46
师弟,我用的是岛主老的路径,下面这个room的新版请发一下,谢谢!

Room {

Room {
        id = "mingjiao/hdg/huapu1",
        name = "花圃",
        outdoor = "蝴蝶谷",
        ways = {
                ["south"] = "mingjiao/hdg/huapu1",
                ["north"] = "mingjiao/hdg/huapu1",
                ["east"] = "mingjiao/hdg/huapu1",
                ["west"] = "mingjiao/hdg/huapu1",
        },
}
门派:天龙寺
发表于 2019-5-22 01:06:34 | 显示全部楼层
zhaoziyu@tj 发表于 2019-5-21 23:27
Room {
        id = "mingjiao/hdg/huapu1",
        name = "花圃",

多谢了!!!                    
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|书剑永恒MUD ( 闽ICP备14012032号|闽公网安备 35050202000162号 )

GMT+8, 2025-5-19 21:42 , Processed in 0.062157 second(s), 26 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表