|
发表于 2017-11-22 22:08:41
|
显示全部楼层
华山任务后判断学习的问题
最近一直苦于JOB组合中只有加上SX才会回门派学习,只做WD+HS就不学习的问题。经馆长和xiren@tj热心帮助已解决,特来表示感谢及分享给跟我一样新手的玩家。特别要感谢xiren@tj,他直接指出了修改的函数。
做完任务后检查是否POT满,是否回门派学习的函数在shujian.lua文件里(一开始我还以为在各个JOB文件中)。打开shujian.lua,查找checkPrepareOver()这个函数。内容如下:
function checkPrepareOver()
if lostletter==1 and needdolost==1 then
return letterLost()
end
if not job.last or job.last=="songxin" or needdolost==1 or job.last=="tdh" or job.last=="songmoya" or job.zuhe["hqgzc"] then
return check_xuexi()
else
return check_job()
end
end
大家看到吧,默认是"songxin""tdh""songmoya""hqgzc",也就是送信、天地会、宋摩崖、洪七公做菜这几个任务才会判断是否需要回门派学习,所以在里面只要加上华山或武当就可以了。如下:
if not job.last or job.last=="songxin" or needdolost==1 or job.last=="tdh" or job.last=="songmoya" or job.last=="huashan" or job.zuhe["hqgzc"] then
就可以了,这样华山任务后也就回去学习了。 |
评分
-
1
查看全部评分
-
|