|
发表于 2017-1-12 12:31:23
|
显示全部楼层
function lingwu_goon()
if locl.room~="达摩院后殿" then
return lingwu_finish()
end
EnableTriggerGroup("lingwu",true)
local leweapon=GetVariable("learnweapon")
exe('wield '..leweapon)
local skill=skillsLingwu[tmp.lingwu]
if not skills[skill] or skills[skill].lvl==0 or skills[skill].lvl>=hp.pot_max-100 then
return lingwu_next()
end
if hp.neili<hp.neili_max/2 then
if hp.exp>20000000 or score.gender=='无' then
return go(lingwu_eat,'武当山','茶亭')
else
return lingwuSleep()
end
end
yunAddInt()
flag.idle=nil
exe('hp;yun jing;#5(lingwu '..skill..')')
return check_bei(lingwu_alias,1.8)
end
function lingwu_eat()
if locl.room=="茶亭" then
flag.food=0
exe('sit chair;knock table;get tao;#3(eat tao);get cha;#4(drink cha);drop cha;drop tao')
check_bei(lingwu_go)
else
return go(lingwu_eat,'武当山','茶亭')
end
end
这里好像有问题,内力不够就去武当吃喝?是不是写错了 |
|