|
代码运行不太明白,请教大神
songmoya.lua里
function yptKillgo()
EnableTrigger("yptFight1",false)
EnableTrigger("ypt_catch_id",false)
if yptteam*1 > 10 then
if sxkiller1*1==0 and sxkiller2*1==0 then
exe('halt;down')
return yptfail()
end
end
hqpd=1
exe('kill '..sxjob.id1)
exe('kill '..sxjob.id2)
if perform.force and perform.force=="dulong-dafa" then
if not flag.wudi or flag.wudi==0 then
exe('yun wudi')
else
print('神龙无敌正在运行中。')
end
end
这个hqpd=1是怎么运行呢?执行到这,才去执行job.lua里的function hp_heqi_check(n,l,w)吗?
job.lua里:if heqi > 240 then
exe('ppp1;pp1;set wimpycmd pfmbuff\\ppp1\\pp1\\hp')
hqpd=0
return
如果合气超过240,执行hqpd=0又什么情况
如果做判断10组以上才憋气,10组一下直接pfm,在job里改行么,比如
if yptjob.fengzhao==false then
if yptjob.name2=='无威胁' then
if yptteam*1>10 then
if heqi>640...
else 憋...
end
end
else
exe(ppp1;ppp2)
end
end
end |
|