|
发表于 2018-9-9 23:13:13
|
显示全部楼层
首先需要在shujian.lua顶部加入require "diemenglou"
然后添加如下内容:(具体放哪里加大家可以随意,我是放在function check_job()里面)
create_triggerex_lvl('dmlflag1','^(> )*【江湖传闻】玩家竞技活动开始了!','','dml_on',95)
SetTriggerOption('dmlflag1','group','hp')
exe('cond')
if not dml_cnt then dml_cnt = 0 end
if dml_cnt == 0 and (not condition.busy or condition.busy == 0) then
return dml_check()
end
复制代码
这个我不能理解啊 是加的shujian.lua文件里面嘛!是加require "diemenglou" 还是01 02 03 04里面的东西呢!
还是在顶部加入require "diemenglou"然后回车在下面一行加入
create_triggerex_lvl('dmlflag1','^(> )*【江湖传闻】玩家竞技活动开始了!','','dml_on',95)
SetTriggerOption('dmlflag1','group','hp')
exe('cond')
if not dml_cnt then dml_cnt = 0 end
if dml_cnt == 0 and (not condition.busy or condition.busy == 0) then
return dml_check()
end
这些嘛
function check_job()里面)是放什么的呢 真的没看懂 |
|