|
发表于 2017-1-9 14:49:21
|
显示全部楼层
huashan_fight=function(n,l,w)
flag.find=1
job.id=string.lower(w[2])
exe('unset no_kill_ap;set wimpy 100;yield no')
exe('follow '..job.id)
job.killer[job.target]=job.id
exe('kill '..job.id)
npcname=job.target
npcid=job.id
dis_all()
fight.time.b=os.time()
EnableTrigger("hpheqi1",true)
DeleteTriggerGroup("huashan_fight")
create_trigger_t('huashan_fight1','^(> )*'..job.target..'「啪」的一声倒在地上','','huashan_cut')
create_trigger_t('huashan_fight2','^(> )*'..job.target..'神志迷糊,脚下一个不稳,倒在地上昏了过去。','','huashan_faint')
create_trigger_t('huashan_fight3','^(> )*'..job.target..'匆匆离开。','','huashanFindFail')
create_trigger_t('huashan_fight4','^(> )*你深吸一口纯阳真气,内力运转于指尖,瞬间四周空气激流涌动,六脉剑气大盛!','','kezhiwugong(npcname,npcid,pfmid)')
SetTriggerOption("huashan_fight1","group","huashan_fight")
SetTriggerOption("huashan_fight2","group","huashan_fight")
SetTriggerOption("huashan_fight3","group","huashan_fight")
end
红色的部分是我在huasha.lua中加的,能这样引用吗 |
|