|
发表于 2022-6-5 15:23:24
|
显示全部楼层
huashan_fight=function(n,l,w)
flag.wait=1
EnableTrigger("huashan_find2",false)
job.id=string.lower(w[2])
exe('unset no_kill_ap;yield no')
exe('follow '..job.id)
job.killer[job.target]=job.id
exe('kick '..job.id)
exe('kill '..job.id)
exe('set wimpycmd pfmpfm\\hp')
exe('pfmwu')
--exe('set wimpy 100')
dis_all()
wait.make(function()
wait.time(2)
exe('set wimpy 100')
end)
--kezhiwugong(job.target,job.id,'pfmpfm')
kezhiwugong()
kezhiwugongAddTarget(job.target,job.id)
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','^(> )*这里没有 '..job.id..'。','','huashanFindAct')
--create_trigger_t('huashan_fight4','^(> )*这里没有 '..job.id..'。','','huashanFindAgain')
SetTriggerOption("huashan_fight1","group","huashan_fight")
SetTriggerOption("huashan_fight2","group","huashan_fight")
SetTriggerOption("huashan_fight3","group","huashan_fight")
SetTriggerOption("huashan_fight4","group","huashan_fight")
--hs flood后kill命令出不来的workaround by joyce@tj
addxml.trigger {
custom_colour="2",
enabled="y",
group="huashan_fight",
match="^(> )*你对着"..job.target.."(大喝一声:|喝道:|猛吼一声:|吼道:)",
name="huashan_fight_hskill",
regexp="y",
script="hskill_timer_stop",
sequence="100",
}
create_timer_s('hskill',0.4,'hskill')
end
应该是这里了 |
|