|
鉴于太穷。学不起lit了,每学lit必开锦帕,所以加了一个鬼谷的判断
shujian.lua开头加入condition.guigu=0
- create_trigger_t('score4',"^│(任务繁忙状态|雪山强抢美女|双倍经验|明悟|寒毒|星宿掌毒|鬼谷算术|蔓陀萝花毒|虎爪绝户手伤|福州镖局护镖倒计时|真实视野)\\s*(\\D*)(分|秒)\\s*",'','score_busy_check')
复制代码
这里加入鬼谷!
score_busy_check=function(n,l,w)里面加入
- 分的地方
- if w[1]=="鬼谷算术" then
- condition.guigu=l_cnt * 60
- end
- 秒的地方
- if w[1]=="鬼谷算术" then
- condition.guigu=l_cnt
- end
复制代码
加的位置看清楚,有*60的就是分的地方
function check_pot(p_cmd)这个里面修改一个
- if score.party~="普通百姓" and hp.pot>=l_pot and flag.autoxuexi and flag.autoxuexi==1 then
- if skills["literate"] and score.gold>1000 and skills["literate"].lvl<hp.pot_max-100 and (condition.guigu and condition.guigu>=0) then
复制代码
找到位置加and (condition.guigu and condition.guigu>=0)
job.lua里面一样有,在prepare_neili_b=function()里面
- if score.party~="普通百姓" and nobusy==0 and condition.busy~=nil and condition.busy>=100 and hp.pot>=60 then
- if skills["literate"] and score.gold>1000 and skills["literate"].lvl<hp.pot_max-100 and (condition.guigu and condition.guigu>=0) the
复制代码
然后平时不管多少gold都不去学了,买了锦帕才学! |
|