|
发表于 2019-11-19 22:43:01
|
显示全部楼层
huashan_finish=function()
EnableTimer('walkWait4',false)
DeleteTimer("walkWait4")
job.name='idle'
wudang_checkfood=0--可以重新检查食物,在武当那里检查。
map.rooms["village/zhongxin"].ways["northwest"]="village/caidi"
map.rooms["village/zhongxin"].ways["northeast"]="village/caidi"
EnableTriggerGroup("huashan_over",false)
EnableTriggerGroup("huashanQuest",true)
flag.times=1
quick_locate=1
locl.area='华山'
locl.room='正气堂'
hsjob2=0
exe('drop ling pai;drop head;drop corpse')
--jobExpTongji()
huashan_triggerDel()
--if job.zuhe["wudang"] then
-- job.last='wudang'
--end
setLocateRoomID='huashan/zhengqi'
--return check_halt(check_food)原来的check_food注销掉。
if Bag and Bag["白银"] and Bag["白银"].cnt and Bag["白银"].cnt>500 then
return check_gold()
end
if (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt<count.gold_max and score.gold>count.gold_max) or (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt>count.gold_max*4) then
return check_gold()
end
hswc_cs=hswc_cs+1
if hswc_cs>=3 then
hswc_cs=0
SetVariable("jobthird","husong")
return check_halt(husong)
else
return check_halt(check_jobx)
end
end
function huashanDgjj()
if score.party and score.party=="华山派" then messageShow ('华山任务:出现面壁提示了!') end
return huashan_finish()
end
function huashanjjQuest()
EnableTriggerGroup("huashan_accept",false)
if score.party and score.party=="华山派" then
messageShow ('华山任务:提示要求面壁思过,停止做华山任务')
job.zuhe["huashan"] = nil
return check_heal()
else
return huashan_finish()
end
end
|
|