|
发表于 2019-4-11 14:59:13
|
显示全部楼层
- function hp_heqi_check(n,l,w)
- heqi = tonumber(w[1])
- print("heqi="..heqi)
- if hp.qixue_per<35 and dhd_cur>0 then
- exe('fu dahuan dan')
- end
- if score.party=='天龙寺' and hp.qixue_per<90 then
- exe('yun liao '..score.id)
- end
- if hp.qixue_per<70 and cty_cur>0 then
- exe('eat chantui yao')
- end
- if (hp.qixue / (hp.qixue_max / hp.qixue_per ) < 35) and cty_cur>0 then
- exe('eat chantui yao')
- end
- if hp.qixue<hp.qixue_max*0.7 then
- exe('yun qi')
- end
- if hp.jingxue<hp.jingxue_max*0.5 then
- exe('yun jing')
- end
- if hp.neili<hp.neili_max*0.4 and cbw_cur>0 then
- exe('eat '.. drug.neili2)
- end
- if hp.neili<hp.neili_max*0.3 and hqd_cur>0 then
- exe('eat '.. drug.neili3)
- end
- if hp.jingli<hp.jingli_max*0.5 or hp.jingli<500 then
- exe('yun jingli')
- end
- if hp.neili<hp.neili_max*0.1 and nxw_cur>0 then
- exe('eat '.. drug.neili1)
复制代码 |
|