|
楼主 |
发表于 2019-2-26 18:15:13
|
显示全部楼层
我完善了一下,谁用小号先测试一下
- huashan_cut=function()
- EnableTriggerGroup("huashan_fight",false)
- EnableTriggerGroup("huashan_find",false)
- DeleteTriggerGroup("huashan_cut")
- create_trigger_t('huashan_cut1','^(> )*只听“咔”的一声,你将(\\D*)的首级斩了下来,提在手中。','','huashan_cut_con')
- create_trigger_t('huashan_cut2','^(> )*(乱切别人杀的人干嘛啊|你手上这件兵器无锋无刃|你得用件锋利的器具才能切下这尸体的头来)','','huashan_cut_weapon')
- create_trigger_t('huashan_cut3','^(> )*你将(\\D*)的尸体扶了起来背在背上。','','huashan_cut_con')
- create_trigger_t('huashan_cut4','^(> )*光天化(日)的想抢劫啊?','','huashan_cut_con')
- --create_trigger_t('huashan_cut3','^(> )*你现在正忙着呢。','','huashan_cut_weapon')
- SetTriggerOption("huashan_cut1","group","huashan_cut")
- SetTriggerOption("huashan_cut2","group","huashan_cut")
- SetTriggerOption("huashan_cut3","group","huashan_cut")
- SetTriggerOption("huashan_cut4","group","huashan_cut")
- --SetTriggerOption("huashan_cut5","group","huashan_cut")
- wudangPfmAnClose()
- road.id=nil
- job.killer={}
- fight.time.e=os.time()
- fight.time.over=fight.time.e-fight.time.b
- messageShowT('华山任务:战斗用时:【'..fight.time.over..'】秒,搞定蒙面人:【'..job.target..'】。')
- return check_halt(huashan_cut_act)
- end
- huashan_cut_act=function()
- DeleteTimer('perform')
- --weapon_unwield()
- --weaponWieldCut()
- --for i=1+l_corpseNum,2+l_corpseNum do
- check_halt(exe('get corpse'))
- --exe('get ling pai from corpse '..i)
- --exe('qie corpse '..i)
- --end
- end
- huashan_cut_weapon=function()
- return check_halt(huashan_cut_act,1)
- end
- huashan_cut_con=function(n,l,w)
- if job.target~=tostring(w[2]) and tostring(w[2])~='日' then
- --exe('drop head')
- check_halt(exe('drop corpse'))
- elseif job.target=tostring(w[2]) then
- l_corpseNum=1
- DeleteTriggerGroup("all_fight")
- EnableTriggerGroup("huashan_cut",false)
- EnableTrigger("huashan_look_corpse",false)
- check_halt(exe('get ling pai from corpse'))
- return go(huashan_yls,'华山','祭坛')
- end
- l_corpseNum=1
- DeleteTrigger('huashan_look_corpse')
- Create_trigger_t('huashan_look_corpse','^(\\D*)的尸体 = corpse, shi ti','','hua_cut_con1')
- exe('id here')
- end
- hua_cut_con1=function(n,l,w)
- if job.target~=tostring(w[2]) then
- l_corpseNum=l_corpseNum+1
- else
- check_halt(exe('get corpse '..l_corpseNum))
- end
- end
复制代码 |
|