|
一个办法是get corpse,一个办法是等busy过后qie corpse
1、get corpse
将以下模块更换
- huashan_cut_act=function()
- DeleteTimer('perform')
- weapon_unwield()
- weaponWieldCut()
- for i=1,5 do
- exe('halt;get ling pai from corpse '..i)
- exe('get corpse ')
- end
- end
复制代码- huashan_yls=function()
- DeleteTriggerGroup("huashan_yls")
- create_trigger_t('huashan_yls1','^(> )*(这里没有这个人。|你身上没有这样东西。|这人好象不是你杀的吧?|你的令牌呢|你还没有去找恶贼,怎么就来祭坛了?)','','huashan_yls_fail')
- create_trigger_t('huashan_yls2','^(> )*岳灵珊在你的令牌上写下了一个 (一|二) 字。','','huashan_yls_ask')
- create_trigger_t('huashan_yls3','^(> )*这好象不是你领的令牌吧?','','huashan_yls_lingpai')
- SetTriggerOption("huashan_yls1","group","huashan_yls")
- SetTriggerOption("huashan_yls2","group","huashan_yls")
- SetTriggerOption("huashan_yls3","group","huashan_yls")
- return exe('give yue corpse;hp')
- end
复制代码
以上修改未测试,不知道会不会乱get corpse,导致别人任务无法完成。
2、等busy过后切
这个方法我改过了没问题,但是忘了谁了,有不同意见,就是将里面的check_busy改为check_halt,因为我看check_busy只能检查行动busy,无法检查运功busy,所以就这样改了,大家可以试试
- 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')
- SetTriggerOption("huashan_cut1","group","huashan_cut")
- SetTriggerOption("huashan_cut2","group","huashan_cut")
- 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
复制代码
|
|