|
发表于 2022-2-28 20:13:40
|
显示全部楼层
function kezhiwugongcheck(i,n,l,w)
pk_pfm_set()
local tmpdes=""
if string.find(w[2],"决定用") then
tmpdes=string.sub(w[2],7,-1)
--print(tmpdes)
if tmpdes=='金蛇剑法' or tmpdes=='金蛇掌法' then
tmpdes='金蛇秘籍'
end
if string.find(w[3],"剑法") then npc_skills.sword=tmpdes end
if string.find(w[3],"拳法") then npc_skills.cuff=tmpdes end
if string.find(w[3],"指法") then npc_skills.finger=tmpdes end
if string.find(w[3],"手法") then npc_skills.hand=tmpdes end
local kezhi=kezhiwugongAttribue(tmpdes)
--print(kezhi)
if tmpdes=='空明拳' or tmpdes=='太祖拳' then return end
if job.name=='pk' and npc_party[i]~=nil and npc_party[i]=='天龙寺' then
if tmpdes~='一阳指' and tmpdes~='段家剑法' and tmpdes~='金蛇剑法' then return end
if (tmpdes=='一阳指' or tmpdes=='段家剑法' or tmpdes=='金蛇剑法') and npc_shape~='剑形' then return end
end
我这个怎么改? |
|