|
发表于 2020-8-8 18:57:22
|
显示全部楼层
瞎猜一下,对不对自己试下。
huashan.lua文件里,这个函数
huashan_yls_ask=function(n,l,w)
EnableTimer('walkWait4',false)
EnableTriggerGroup("huashan_yls",false)
DeleteTriggerGroup("huashan_yls_ask")
create_trigger_t('huashan_yls_ask1','^(> )*你向岳灵珊打听有关『力不从心』的消息。','','huashan_yls_back')
SetTriggerOption("huashan_yls_ask1","group","huashan_yls_ask")
EnableTriggerGroup("huashan_yls_ask",false)
quick_locate=1
if w[2]=='二' then
return huashan_yls_back()
end
if w[2]=='一' and (dohs2==0 or (lostletter==1 and needdolost==1)) then
wait.make(function()
wait.time(2.0)
return check_bei(huashan_yls_lbcx)
end)
--return check_bei(huashan_yls_lbcx)
else
wait.make(function()
wait.time(2.0)
return check_bei(huashan_heal)
end)
--return check_bei(huashan_heal)
end
end
|
|