找回密码
 注册
搜索
查看: 3326|回复: 61

武当后山丛林路径0510

[复制链接]
门派:古墓派
发表于 2017-5-10 16:59:58 | 显示全部楼层 |阅读模式
本帖最后由 fqyy@tj 于 2017-5-10 17:36 编辑

目前3天测试没发现bug,大家小号可以用一下试试

room.lua 删掉武当后山山顶wudang/houshan/taoyuan2 替换成下面这些
  1. -----------------by fqyy 20170508 武当后山各种丛林--------------
  2. Room {
  3.         id = "wudang/houshan/taoyuan2",
  4.         name = "山顶",
  5.         ways = {
  6.                 ["east"] = "wudang/houshan/taoyuan1",
  7.                 ["#inWdcl"] = "wudang/houshan/gudi",
  8.         },
  9.         nolooks = {
  10.                 ["#inWdcl"] = true,
  11.         },
  12.         lengths = {
  13.                 ["#inWdcl"] = "if skills['hand'] and skills['hand'].lvl>80 and skills['dodge'] and skills['dodge'].lvl>100 and skills['force'] and skills['force'].lvl>100 then return 100 else return false end",
  14.         },
  15. }
  16. Room {
  17.         id = "wudang/houshan/gudi",
  18.         name = "谷底",
  19.         ways = {
  20.                 ["southeast"] = "wudang/houshan/clbinyuan1",
  21.         },
  22. }
  23. Room {
  24.         id = "wudang/houshan/clbinyuan1",
  25.         name = "丛林边缘",
  26.         ways = {
  27.                 ["northwest"] = "wudang/houshan/gudi",
  28.                 ["zuan conglin"] = "wudang/houshan/conglinlh",
  29.         },
  30.         nolooks = {
  31.                 ["zuan conglin"] = true,
  32.         },
  33.         room_relative="谷底↖丛林边缘丛林边缘",
  34. }
  35. Room {
  36.         id = "wudang/houshan/conglinlh",
  37.         name = "烈火丛林",
  38.         ways = {
  39.                 ["#outWdcl"] = "wudang/houshan/conglinly",
  40.         },
  41.         nolooks = {
  42.                 ["#outWdcl"] = true,
  43.         },
  44. }
  45. Room {
  46.         id = "wudang/houshan/conglinly",
  47.         name = "落叶丛林",
  48.         ways = {
  49.                 ["#outWdcl"] = "wudang/houshan/conglinjx",
  50.         },
  51.         nolooks = {
  52.                 ["#outWdcl"] = true,
  53.         },
  54. }
  55. Room {
  56.         id = "wudang/houshan/conglinjx",
  57.         name = "积雪丛林",
  58.         ways = {
  59.                 ["#outWdcl"] = "wudang/houshan/conglinky",
  60.         },
  61.         nolooks = {
  62.                 ["#outWdcl"] = true,
  63.         },
  64. }
  65. Room {
  66.         id = "wudang/houshan/conglinky",
  67.         name = "阔叶丛林",
  68.         ways = {
  69.                 ["#outWdcl"] = "wudang/houshan/clbianyuan2",
  70.         },
  71.         nolooks = {
  72.                 ["#outWdcl"] = true,
  73.         },
  74. }
  75. Room {
  76.         id = "wudang/houshan/clbianyuan2",
  77.         name = "丛林边缘",
  78.         ways = {
  79.                 ["#wdclToHsda"] = "xiangyang/hanshui2",
  80.         },
  81.         nolooks = {
  82.                 ["#wdclToHsda"] = true,
  83.         },
  84.         room_relative="阔叶丛林阔叶丛林阔叶丛林↖|↗丛林边缘|阔叶丛林丛林边缘",
  85. }
复制代码



lujing.lua里加入如下
  1. -----------------by fqyy 武当后山各种丛林------
  2. function inWdcl()
  3.         exe("hold teng;jump down")
  4.         return walk_wait()
  5. end
  6. local wdclorder={
  7.         ["烈火丛林"]=1,
  8.         ["落叶丛林"]=2,
  9.         ["积雪丛林"]=3,
  10.         ["阔叶丛林"]=4,
  11.         ["丛林边缘"]=5,
  12. }
  13. local wdclOutDoorCmd={"nw","n","ne","w","look","e","sw","s","se"}
  14. local wdclOutAreaNum={1,9,17,31,42,53,67,75,83}
  15. local tt_step=1
  16. local wdclCurrentRoom=""

  17. function outWdcl()
  18.         tt_step=1
  19.         if locl.room=="丛林边缘" then
  20.                 wdclCurrentRoom="烈火丛林"
  21.         else
  22.                 wdclCurrentRoom=locl.room
  23.         end
  24.         outWdcl1()
  25. end
  26. function outWdcl1()
  27.         fastLocate()
  28.         return checkWait(outWdclCheck,0.5)
  29. end
  30. function outWdclCheck()
  31.         local p,n,randomN,findRoomN
  32.         local wdclOutDoor={
  33.         }
  34.         if flag.times<2 then tt_step=6 end
  35.         wdclOutDoor[1]={}
  36.         wdclOutDoor[2]={}
  37.         wdclOutDoor[3]={}
  38.         wdclOutDoor[4]={}
  39.         wdclOutDoor[5]={}
  40.         --print(tt_step,locl.room,wdclCurrentRoom)
  41.         if wdclorder[wdclCurrentRoom]==wdclorder[locl.room] then
  42.                 for i=1,9 do
  43.                         if i~=5 then
  44.                                 p=string.sub(locl.room_relation,wdclOutAreaNum[i],wdclOutAreaNum[i]+7)
  45.                                 --print(p)
  46.                                 table.insert(wdclOutDoor[wdclorder[p]],wdclOutDoorCmd[i])
  47.                         end
  48.                 end
  49.                 if tt_step<6 then
  50.                         findRoomN=wdclorder[locl.room]
  51.                 else
  52.                         findRoomN=wdclorder[locl.room]+1
  53.                 end
  54.                 randomN=table.getn(wdclOutDoor[findRoomN])
  55.                 tt_step=tt_step+1
  56.                 if randomN~=nil and randomN>0 then
  57.                         dn=math.random(randomN)
  58.                         print("查找武当后山丛林出口为"..wdclOutDoor[findRoomN][dn].."查找次数="..flag.times)
  59.                         exe("halt;"..wdclOutDoor[findRoomN][dn])
  60.                 else
  61.                         findRoomN=findRoomN-1
  62.                         randomN=table.getn(wdclOutDoor[findRoomN])
  63.                         dn=math.random(randomN)
  64.                         print("查找武当后山丛林没有出口原地随机移动"..wdclOutDoor[findRoomN][dn].."查找次数="..flag.times)
  65.                         exe("halt;"..wdclOutDoor[findRoomN][dn])
  66.                 end
  67.                 return outWdcl1()
  68.         else
  69.                 return walk_wait()
  70.         end
  71. end
  72. function wdclToHsda()
  73.         exe("jump river")
  74.         DeleteTriggerGroup("wdclToHsda")
  75.     create_trigger_t('wdclToHsda1','^>*\\s*你随波逐流,终于发现了岸边,浑身湿漉漉的爬上了汉水西岸。','','wdclToHsda2')
  76.         SetTriggerOption("wdclToHsda1","group","wdclToHsda")
  77.     EnableTriggerGroup("wdclToHsda",true)
  78. end
  79. function wdclToHsda2()
  80.         EnableTriggerGroup("wdclToHsda",false)
  81.         DeleteTriggerGroup("wdclToHsda")
  82.         return walk_wait()
  83. end
复制代码
门派:姑苏慕容
发表于 2017-5-10 18:29:26 | 显示全部楼层
有什么要求吗?要求hand 80级?
门派:桃花岛
发表于 2017-5-10 18:58:07 | 显示全部楼层
高人啊,赶紧去测试一下                                       
门派:华山派
发表于 2017-5-10 19:05:29 | 显示全部楼层
厉害啊                           
门派:不明
发表于 2017-5-10 22:02:48 | 显示全部楼层
fqyy 效率真是高。。。都自己测试了3天了。
门派:桃花岛
发表于 2017-5-10 22:46:14 | 显示全部楼层
风神厉害啊!大福音啊        
门派:星宿派
发表于 2017-5-11 00:07:02 | 显示全部楼层
晕死,这种路径怎么能放出来呢
门派:古墓派
 楼主| 发表于 2017-5-11 08:44:05 | 显示全部楼层
ryru@tj 发表于 2017-5-10 18:29
有什么要求吗?要求hand 80级?

dodoge100 hand80  
force100 不是必须,只取决于出丛林是否会晕
门派:姑苏慕容
发表于 2017-5-11 09:13:48 | 显示全部楼层
fqyy@tj 发表于 2017-5-11 08:44
dodoge100 hand80  
force100 不是必须,只取决于出丛林是否会晕

还得想办法补hand去           
门派:不明
发表于 2017-5-11 09:23:23 | 显示全部楼层
fqyy@tj 发表于 2017-5-11 08:44
dodoge100 hand80  
force100 不是必须,只取决于出丛林是否会晕

武当弟子也是这个要求吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-17 09:46 , Processed in 0.041014 second(s), 26 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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