|
楼主 |
发表于 2020-11-10 23:42:51
|
显示全部楼层
-----自动练功机器人----
function dazuo_lianxi_auto()
tmp_lxskill='bei none;unwield sword;unwield sword 2;uweapon shape lianyu sword;unwield xiao;'
lianxi_times=GetVariable('mycishu')
for p in pairs(skills) do
print(skillEnable[p])
if (skillEnable[p] and skills[p].lvl<hp.pot_max-100) or (skillEnable[p] and skills[p].lvl==hp.pot_max-100 and skills[p].pot<(skills[p].lvl+1)^2) then
if skillEnable[p]=="force" then
tmp_lxskill=tmp_lxskill..'lian force '..lianxi_times..';'
end
if skillEnable[p]=="dodge" then
tmp_lxskill=tmp_lxskill..'jifa dodge '..p..';lian dodge '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="finger" then
tmp_lxskill=tmp_lxskill..'jifa finger '..p..';lian finger '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="cuff" then
tmp_lxskill=tmp_lxskill..'jifa cuff '..p..';lian cuff '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="strike" then
tmp_lxskill=tmp_lxskill..'jifa strike '..p..';lian strike '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="hand" then
print(skillEnable[p])
tmp_lxskill=tmp_lxskill..'jifa hand '..p..';lian hand '..lianxi_times..';yun jingli;'
end
那你再在这个函数下加入打印指令,这是打印练功技能识别的,看看能不能抓到hand.
设置好,重进mush,手动执行设置/set_sxlian(),前边要加反斜杠的。 |
|