|
发表于 2018-1-26 14:58:32
|
显示全部楼层
原来的貌似有
nd
function wudangNpc(n,l,w)
EnableTriggerGroup("wudangAccept",false)
EnableTrigger("wudangAccepta",true)
EnableTrigger("wudangAcceptb",true)
sxjob.skills=tostring(w[3])
if string.find(sxjob.skills,"棍") then
exe('set po 枪')
elseif string.find(sxjob.skills,"杖") then
exe('set po 枪')
elseif string.find(sxjob.skills,"棒") then
exe('set po 枪')
elseif string.find(sxjob.skills,"杵") then
exe('set po 枪')
elseif string.find(sxjob.skills,"一阳指") then
exe('set po 枪')
elseif string.find(sxjob.skills,"剑") then
exe('set po 剑')
elseif string.find(sxjob.skills,"针") then
exe('set po 剑')
elseif string.find(sxjob.skills,"刀") then
exe('set po 刀')
elseif string.find(sxjob.skills,"鞭") then
exe('set po 索')
elseif string.find(sxjob.skills,"银索金铃") then
exe('set po 索')
elseif string.find(sxjob.skills,"含沙射影") then
exe('set po 箭')
elseif string.find(sxjob.skills,"弹指神通") then
exe('set po 箭')
elseif string.find(sxjob.skills,"漫天花雨") then
exe('set po 箭')
elseif string.find(sxjob.skills,"夺命金花") then
exe('set po 箭')
elseif string.find(sxjob.skills,"匕") then
exe('set po 鞭')
elseif string.find(sxjob.skills,"斧") then
exe('set po 鞭')
elseif string.find(sxjob.skills,"令") then
exe('set po 鞭')
elseif string.find(sxjob.skills,"钩") then
exe('set po 鞭')
elseif string.find(sxjob.skills,"轮") then
exe('set po 鞭')
elseif string.find(sxjob.skills,"笔") then
exe('set po 鞭')
else
exe('set po 掌')
end
end
现在发的这个没有了 |
|