找回密码
 注册
搜索
查看: 3904|回复: 58

少林护送任务基本完工

[复制链接]
门派:明教
发表于 2019-11-19 20:34:11 | 显示全部楼层 |阅读模式
跑了几天,不断的修改,基本能跑了。需要提示的是:不能无人值守,因为护送有二个bug点,大师跑进去了就是失败,长安城的长街,南阳城的密林。请要用的师兄们,看一看使用说明。有问题的在下面留言。

少林护送.rar

7.19 KB, 下载次数: 154

评分

1

查看全部评分

门派:明教
 楼主| 发表于 2019-11-19 20:36:55 | 显示全部楼层
任务组合,不需要去选少林护送,就按照你现有的任务组合不用改动
门派:明教
 楼主| 发表于 2019-11-19 20:38:37 | 显示全部楼层
还有,忘记了一个事,在mush里添加变量:job_husong_times,值设为0,如果以前做了多少次的,值就设为你做过的次数。
门派:明教
发表于 2019-11-19 20:53:58 | 显示全部楼层
点个赞。幸苦了。无相截指我来了
门派:少林派
发表于 2019-11-19 21:32:22 | 显示全部楼层
十分感谢!少林神技又回来了!
门派:少林派
发表于 2019-11-19 22:04:05 | 显示全部楼层
cqsimon@tj 发表于 2019-11-19 20:38
还有,忘记了一个事,在mush里添加变量:job_husong_times,值设为0,如果以前做了多少次的,值就设为你做 ...

第二条华山lua那个在哪修改?
门派:天龙寺
发表于 2019-11-19 22:06:23 | 显示全部楼层
ykghwz@tj 发表于 2019-11-19 22:04
第二条华山lua那个在哪修改?

里面有说明的,在哪里设置
门派:少林派
发表于 2019-11-19 22:23:55 | 显示全部楼层
zhaoziyu@tj 发表于 2019-11-19 22:06
里面有说明的,在哪里设置

没看懂!是添加还是在原来的基础上改!
门派:天龙寺
发表于 2019-11-19 22:37:27 | 显示全部楼层
你把你那个函数贴出来吧
门派:少林派
发表于 2019-11-19 22:43:01 | 显示全部楼层
huashan_finish=function()
        EnableTimer('walkWait4',false)
        DeleteTimer("walkWait4")
        job.name='idle'
        wudang_checkfood=0--可以重新检查食物,在武当那里检查。
    map.rooms["village/zhongxin"].ways["northwest"]="village/caidi"
    map.rooms["village/zhongxin"].ways["northeast"]="village/caidi"
    EnableTriggerGroup("huashan_over",false)
        EnableTriggerGroup("huashanQuest",true)
    flag.times=1
        quick_locate=1
        locl.area='华山'
        locl.room='正气堂'
    hsjob2=0
        exe('drop ling pai;drop head;drop corpse')
        --jobExpTongji()
  huashan_triggerDel()
  --if job.zuhe["wudang"] then
  --     job.last='wudang'
  --end
        setLocateRoomID='huashan/zhengqi'
        --return check_halt(check_food)原来的check_food注销掉。
            if Bag and Bag["白银"] and Bag["白银"].cnt and Bag["白银"].cnt>500 then
            return check_gold()
        end
        if (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt<count.gold_max and score.gold>count.gold_max) or (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt>count.gold_max*4) then
            return check_gold()
            end
        hswc_cs=hswc_cs+1
        if hswc_cs>=3 then
        hswc_cs=0
        SetVariable("jobthird","husong")
        return check_halt(husong)
        else
        return check_halt(check_jobx)
        end
end
function huashanDgjj()
    if score.party and score.party=="华山派" then messageShow ('华山任务:出现面壁提示了!') end
    return huashan_finish()
end
function huashanjjQuest()
    EnableTriggerGroup("huashan_accept",false)
if score.party and score.party=="华山派" then
    messageShow ('华山任务:提示要求面壁思过,停止做华山任务')
        job.zuhe["huashan"] = nil
        return check_heal()
else
    return huashan_finish()
end
end

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-7-17 20:15 , Processed in 0.051531 second(s), 29 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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