|
楼主 |
发表于 2017-9-4 22:08:22
|
显示全部楼层
似乎不在check_food里面
function check_food()
if score.gender=='无' then --厂公专用,封闭房间
map.rooms["city/mingyufang"].ways["north"]=nil
map.rooms["changan/eastjie1"].ways["north"]=nil
end
map.rooms["sld/lgxroom"].ways["#outSld"]="huanghe/huanghe8"
if score.party=='华山派'and hp.shen<0 then
map.rooms["huashan/houtang"].ways["north"]=nil
map.rooms["huashan/qianting"].ways["south"]=nil
end
if score.party=='姑苏慕容' then
map.rooms["mtl/anbian1"].ways["qu xiaozhu;#CboatWait"]=nil
map.rooms["mtl/anbian1"].ways["qu yanziwu;#CboatWait"]=nil
map.rooms["mr/testmatou1"].ways["qu yanziwu;#boatWait"]=nil
map.rooms["mr/testmatou1"].ways["qu mr;#boatWait"]=nil
map.rooms["mr/tingyuju"].ways["tan qin;#boatWait"]=nil
map.rooms["mr/xiaodao"].ways["#boatYell"]=nil
map.rooms["yanziwu/anbian3"].ways["#boatYell"]=nil
map.rooms["yanziwu/anbian4"].ways["#boatYell"]=nil
if skills["douzhuan-xingyi"]~=nil then
if not skills["douzhuan-xingyi"] and skills["douzhuan-xingyi"].lvl>130 and skills["douzhuan-xingyi"].lvl<170 then dzxy_level=1 end
if not skills["douzhuan-xingyi"] and skills["douzhuan-xingyi"].lvl>170 and skills["douzhuan-xingyi"].lvl<200 then dzxy_level=2 end
if not skills["douzhuan-xingyi"] and skills["douzhuan-xingyi"].lvl>200 and skills["douzhuan-xingyi"].lvl<hp.pot_max-100 then dzxy_level=3 end
end
end
beiUnarmed()
dis_all()
hpheqi()
if mydummy==true then
return dummyfind()
end
--if job.zuhe["wudang"] then wait_kill='yes' end
exe('nick 去武当吃喝;remove all;wear all')
exe('hp;unset no_kill_ap;yield no')
if hp.food<80 or hp.water<80 then
return go(wudang_eat,'武当山','茶亭')
else
check_bei(check_food_over)
end
end
function wudang_eat()
if locl.room=="茶亭" then
flag.food=0
DeleteTimer("food")
exe('sit chair;knock table;get tao;#3(eat tao);get cha;#4(drink cha);drop cha;drop tao')
check_bei(check_food_over)
else
return go(wudang_eat,'武当山','茶亭')
end
end |
|