|
楼主 |
发表于 2017-1-7 10:50:48
|
显示全部楼层
function songxin_find_begin()
DeleteTriggerGroup("songxin_begin")
create_trigger_t('songxin_begin1','^>*\\s*\\D*'..job.target..'\\((\\D*)\\)','','sx1job_wait')
SetTriggerOption("songxin_begin1","group","songxin_begin")
EnableTriggerGroup("songxin_begin",false)
EnableTrigger("songxin_killer1",true)
job.flag()
flag.times=1
exe('jifa all;unset wimpy;set wimpycmd pfmpfm\\hp')
local waitting_killer=GetVariable("waitting_killer") or "yes"
if waitting_killer=="yes" then
if string.find(sxjob.ide,job.target) then
messageShow('送信任务:任务目标【'..job.target..'】容易死,直送。')
return go(songxin_find_go,job.area,job.room)
else
return go(songxin_find_npc,job.area,job.room)
end
else
--print ('sx1_path='..sx1_path)
if sx1_path~='' and (string.find(sx1_path,'duCjiang') or string.find(sx1_path,'duHhe')) then
--print 送信一如果过江过河,那么直接送
--messageShow('送信任务:送信路径【'..sx1_path..'】。')
messageShow('送信任务:送信一要过江过河,那么不等杀手,直接送任务目标【'..job.target..'】。')
return go(songxin_find_go,job.area,job.room)
else
--送信一如果没有过江过河,那么等待
if string.find(sxjob.ide,job.target) then
messageShow('送信任务:任务目标【'..job.target..'】容易死,直送。')
return go(songxin_find_go,job.area,job.room)
else
return go(songxin_find_npc,job.area,job.room)
end
end
end
end
没贴上,重新贴下 |
|