|
和同门师兄探讨一下,在挂机的过程中,quest武功少和武器不怎么样的情况下,战斗时间确实拉得比较长。
我考虑在理相是死的时候不做hs2,可能效果也许好一些。我做了一点修改,在理相是死的时候,自动把hs2
关掉只做hs1,在理相不是死的时候,自动打开hs2.
1.先修改理相的匹配。
shujian.lua
function hp_trigger()
create_trigger_t('score10','^┃理相:(\\D*)\\((\\d*)\\)\\s*合气:\\+(\\d*)\\s*暴击:(\\d*)\\%\\s*必杀:(\\d*)\\%\\s*幸运:(\\d*)\\s*┃','','score_check_xy')
替换为:
create_trigger_t('score10','^┃致命抗性:\\d*\\s*理相:(\\D*)\\((\\d*)\\)\\s*┃','','score_check_xy'
2.function checkJob()
--if hp.exp>2000000 then job.zuhe["zhuoshe"]=nil end
--if hp.shen>0 or hp.exp>6000000 then job.zuhe["songshan"]=nil end
if score.xiangyun=='死' then
dohs2=0
else
if score.xiangyun~='死' then ------添加这部分
dohs2=1
end
end
那么也有一个问题,就是在做ll的时候,比如要关掉hs2,这个就要把添加的这一部分注释掉
--if hp.exp>2000000 then job.zuhe["zhuoshe"]=nil end
--if hp.shen>0 or hp.exp>6000000 then job.zuhe["songshan"]=nil end
--[[if score.xiangyun=='死' then
dohs2=0
else
--if score.xiangyun~='死' then
dohs2=1
end
end]]
|
|