|
我用的mush是自动练功那种,就是不需要自己设置的。我其其他门派武功都能正常练习,就是不练太祖拳,或者是偶尔练几下太祖然后又不练了。
function dazuo_lianxi_auto()
tmp_lxskill='bei none;unwield mu jian;unwield kunlun sword;unwield tiandi xiao'
lianxi_times=GetVariable('mycishu')
for p in pairs(skills) do
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]=="cuff" then
tmp_lxskill=tmp_lxskill..'jifa cuff '..p..';lian cuff '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="force" then
tmp_lxskill=tmp_lxskill..'lian force '..lianxi_times..';'
end
if skillEnable[p]=="dodge" then
tmp_lxskill=tmp_lxskill..'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]=="strike" then
tmp_lxskill=tmp_lxskill..'jifa strike '..p..';lian strike '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="hand" then
tmp_lxskill=tmp_lxskill..'jifa hand '..p..';lian hand '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="leg" then
tmp_lxskill=tmp_lxskill..'lian leg '..lianxi_times..';yun jingli;'
end
if skillEnable[p]=="sword" then
tmp_lxskill=tmp_lxskill..'jifa sword '..p..';wield sword;lian sword '..lianxi_times..';unwield sword;yun jingli;'
end
if skillEnable[p]=="throwing" then
tmp_lxskill=tmp_lxskill..'wield coin;lian throwing '..lianxi_times..';unwield coin;yun jingli;'
end
end
end
tmp_lxskill=tmp_lxskill..'bei cuff;hp;unset 积蓄'
end
function set_sxlian()
dazuo_lianxi_auto()
create_alias('sx1lian','sx1lian','alias sxlian '..tmp_lxskill)
return check_busy(lianxi_goon)
end
function lianxi_goon()
exe('sx1lian')
end
这是我在shujian里找的自动练功代码。
|
|