|
发表于 2019-10-8 10:35:25
|
显示全部楼层
当攒够pot需要回门派学习时,提示:"未找到师傅住址,请联系PTBX更新!"
一、未找到师傅住址可能是时间不对,不到晚上路径返回是false
- Room {
- id = "huashan/siguoya",
- name = "思过崖",
- ways = {
- ["eastdown"] = "huashan/xiaolu2",
- ["enter"] = "huashan/hole",
- ["#Fqy"] = "huashan/fengqingyang",
- },
- nolooks = {
- ["#Fqy"] = true,
- ["enter"] = true,
- },
- objs = {
- ["令狐冲"] = "linghu chong",
- },
- lengths = {
- ["#Fqy"] = "if[color=Red] MidHsDay[locl.time][/color] and score.master=='风清扬' then return 1 else return false end",
- },
- }
复制代码
二、改一下code吧
- function check_xuexi()
- if MidHsDay[locl.time] and score.master=='风清扬' then
- [color=Red]return lingwu()[/color]
- end
- if needxuexi==0 then
- return check_job()
- end
- if needxuexi==1 then
- return check_pot()
- end
- end
复制代码 |
评分
-
1
查看全部评分
-
|