|
这两天各种纠结无奈,潜能为0死循环ask 无相禅师 佛法的问题,无意间得到了解决,兴奋之下本着造福秃驴的愿望,将之公之于众。后来的秃驴们再不会像我一样目瞪口呆的看着为0的潜能不停的ask 佛法几分钟甚至几十分钟了。修改办法如下:(我只看到mush的状态,本是小白,所以不要问我为什么,不懂)
Lua 文件当中的 xuncheng.lua搜索佛法
找到原文如下:
function wxjzFofa()
return go(wxjzFofaPre,"嵩山少林","心禅堂")
end
function wxjzFofaPre()
EnableTrigger("fight16",false)
if Bag["挠钩"] and Bag["套索"] then
exe('n')
exe('pray pearl')
for p in pairs(Bag) do
if Bag[p].kind then
for i = 1,Bag[p].cnt do
exe('drop '..Bag[p].fullid)
end
end
end
exe('drop silver')
exe('shuai tao suo')
exe('da nao gou;pa up;enter')
locate()
return check_busy(wxjzFofaAsk,1)
end
if locl.id["方生大师"] then
if not Bag["挠钩"] then
exe('ask fangsheng about 挠钩')
end
if not Bag["套索"] then
exe('ask fangsheng about 套索')
end
checkBags()
return check_busy(wxjzFofaPre,1)
else
return check_heal()
end
end
function wxjzFofaAsk()
if locl.room=="心禅堂" then
exe('n')
exe('pray pearl')
exe('shuai tao suo')
exe('da nao gou;pa up;enter')
locate()
return check_busy(wxjzFofaAsk,1)
end
if not locl.id["无相禅师"] then
return check_heal()
end
DeleteTriggerGroup("fofa")
create_trigger_t('fofa1',"^(> )*你向无相禅师打听有关『佛法』的消息",'','fofaAccept')
create_trigger_t('fofa2',"^(> )*这里没有这个人。$",'','fofaNobody')
SetTriggerOption("fofa1","group","fofa")
SetTriggerOption("fofa2","group","fofa")
exe('ask wuxiang chanshi about 佛法')
end
function fofaNobody()
EnableTriggerGroup("fofa",false)
return check_bei(wxjzFofaOver)
end
function wxjzFofaOver()
DeleteTriggerGroup("fofa")
DeleteTriggerGroup("ffacp")
exe('out;d;get all')
return check_heal()
end
function fofaAccept()
EnableTriggerGroup("fofa",false)
DeleteTriggerGroup("ffacp")
create_trigger_t('ffacp1',"^(> )*你端坐良久,若有所悟。",'','fofaAskCon')
create_trigger_t('ffacp2',"^(> )*无相禅师(对你|)说道:(「|)你的潜能不够了。",'','fofaAskPot')
create_trigger_t('ffacp3',"^(> )*无相禅师(对你|)说道:(「|)大师佛法精深",'','fofaAskOver')
SetTriggerOption("ffacp1","group","ffacp")
SetTriggerOption("ffacp2","group","ffacp")
SetTriggerOption("ffacp3","group","ffacp")
end
function fofaAskCon()
EnableTriggerGroup("ffacp",false)
return check_bei(wxjzFofaAsk,1)
end
function fofaAskPot()
EnableTriggerGroup("ffacp",false)
return check_bei(wxjzFofaOver,1)
end
function fofaAskOver()
EnableTriggerGroup("ffacp",false)
flag.wxjz=1
return check_bei(wxjzFofaOver,1)
end
文中红色字体修改为:exe('out;d;hp;get all') |
评分
-
1
查看全部评分
-
|