|
发表于 2016-11-24 14:04:59
|
显示全部楼层
代码里面加入这个判断了啊。。
- function check_job()
- if xcexp==0 and hp.exp<1000000 then
- print('巡城到1M')
- return xunCheng()
- end
- if xcexp==1 and hp.exp<2000000 then
- print('巡城到2M')
- return xunCheng()
- end
-
- if score.party=="桃花岛" and (hp.shen>150000 or hp.shen<-150000) then
- return thdJiaohui()
- end
- if score.party=="华山派" and hp.shen<0 then
- huashan_neg_shen=1
- end
- if score.gold and score.gold>150 and weaponUsave and countTab(weaponUsave)>0 and math.random(1,5)==1 then
- return weaponUcheck()
- end
- return check_halt(check_jobx)
- end
复制代码 |
|