|
发表于 2019-3-25 13:44:40
|
显示全部楼层
看了原帖还是不清楚应该在哪个lua里改?师兄指点下?
if npc_wugong and npc_wugong=="般若掌" then
if string.find(tmpdes,"的伤处造成一处瘀") then
damage_level=damage_level+1
end
--[[if string.find(tmpdes,"造成任何") then
damage_level=damage_level+1
end]]
if string.find(tmpdes,"没给你拂中") then
damage_level=damage_level+1
end
print("damage_level="..damage_level)
if damage_level>5 then
return kezhiwugongValue("正",i,"般若掌")
end
end
create_trigger_t('afight3'..i,'^(> )*(\\D*)'..npc_name..'(\\D*)'..'(青|穴道|伤害)。$','','kezhiwugongcheck'..i)
|
|