|
function hp_heqi_check(n,l,w)
heqi = w[1]
if job.name=='songmoya' and os.time()>fight.time.b+120 then
exe('set wimpycmd halt\\down')
return
end
if heqi=='1000' and hp.qixue_per<55 and job.name=='songmoya' then
chats_log('报效国家任务:合气到达1000满值,放弃任务!','cyan')
exe('set wimpycmd halt\\down')
return
end
if heqi>400 then
exe('pfmrou;pfmpfm;pfmpfm;pfmpfm;pfmpfm')
geta()
EnableTrigger("hpheqi1",true)
if job.name=='songxin' then
chats_log('送信任务:合气到达1000满值,放弃任务!','cyan')
EnableTrigger("songxin_fight7",true)
return check_halt(songxinKillFail,1)
end
if job.name=='wudang' then
chats_log('武当任务:合气到达1000满值,放弃任务!','cyan')
return check_halt(wudangKillFail,1)
end
if job.name=='xueshan' then
chats_log('雪山任务:合气到达1000满值,放弃任务!','cyan')
return check_halt(xueshanKillFail,1)
end
end
<!-- Produced by MUSHclient v 4.84 - www.mushclient.com -->
·精血· 4929 / 4929 (100%) ·精力· 5070 / 5070(6672)
·气血·12135 / 12135 (100%) ·内力·23671 / 21458(+261)
·戾气· 761,756 ·内力上限·21459 / 23627
·食物· 90.00% ·潜能· 4 / 634
·饮水· 78.12% ·经验· 15,187,329 (53.15%)
·合气度· 165
Run-time error
World: tj.sjever.net
Function/Sub: hp_heqi_check called by trigger
Reason: processing trigger "hpheqi1"
C:\MUSHS\lua\job.lua:520: attempt to compare number with string
stack traceback:
C:\MUSHS\lua\job.lua:520: in function <C:\MUSHS\lua\job.lua:509>
|
|
|