|
在skills<450级找师父学习的时候,一定碰到过xue zhang yinyun-ziqi时,边上刚好有个npc id也是zhang, 这时robot就会停了。
打开shujian.lua,找到如下函数
function xuexiStart()
EnableTriggerGroup("xuexi",true)
tmp.xuexi=1
if master.id and locl.item and locl.item[score.master] and not locl.item[score.master][master.id] then
master.id = nil
end
if not master.id and locl.item and locl.item[score.master] then
master.id=locl.item[score.master]
for p in pairs(locl.item[score.master]) do
if not string.find(p," ") then
master.id = p
end
end
end
exe('bai '..master.id)
weapon_unwield()
if l_skill and weaponKind[l_skill] then
if master.skills[tmp.xuexi]=="yuxiao-jian" then l_skill = "xiao" end
for p in pairs(Bag) do
if Bag[p].kind and Bag[p].kind==l_skill then
exe('wield '.. Bag[p].fullid)
end
end
end
yunAddInt()
local leweapon=GetVariable("learnweapon")
exe('wield '..leweapon)
return xuexiContinue()
end
改为:
function xuexiStart()
EnableTriggerGroup("xuexi",true)
tmp.xuexi=1
if master.id and locl.item and locl.item[score.master] and not locl.item[score.master][master.id] then
master.id = nil
end
if not master.id and locl.item and locl.item[score.master] then
master.id=locl.item[score.master]
for p in pairs(locl.item[score.master]) do
if string.find(p," ") then
master.id = string.gsub(p,"%a+%s+","")
end
end
end
exe('bai '..master.id)
weapon_unwield()
if l_skill and weaponKind[l_skill] then
if master.skills[tmp.xuexi]=="yuxiao-jian" then l_skill = "xiao" end
for p in pairs(Bag) do
if Bag[p].kind and Bag[p].kind==l_skill then
exe('wield '.. Bag[p].fullid)
end
end
end
yunAddInt()
local leweapon=GetVariable("learnweapon")
exe('wield '..leweapon)
return xuexiContinue()
end
之后,学习的效果就是这样的:
<!-- Produced by MUSHclient v 4.84 - www.mushclient.com -->
<font color="#00FF00">憬?衷诜缰幸换樱?奘?幕鹦谴铀姆椒衫矗?ソゾ墼谝黄稹???槐?/font>龙泉剑已经出现在你手中!
>
·精血· 1638 / 1638 (100%) ·精力· 3045 / 3045(5016)
·气血· 6385 / 6385 (100%) ·内力·10000 / 6350(+1)
·正气· 13,752,833 ·内力上限·11083 / 12717
·食物· 90.00% ·潜能· 312 / 499
·饮水· 126.00% ·经验· 6,307,173 (5.65%)
·合气度· 0
> yun jing
xue sanfeng yinyun-ziqi 40
你现在精神饱满。
> 你向张三丰反复请教有关「氤氲紫气」的疑问。
你听了张三丰反复的指导,似乎有些心得。jifa jifa jifa
> 你现在不能激发特殊技能。
> jifa jifa jifa
没有这个技能种类,用 enable ? 可以查看有哪些种类。
学习点数:40
|
|
评分
-
1
查看全部评分
-
|