|
发表于 2018-12-29 00:40:46
|
显示全部楼层
weapon_unwield=function()
for p in pairs(Bag) do
if Bag[p].kind and (not itemWield or itemWield[p]) then
local _,l_cnt = isInBags(Bag[p].fullid)
for i = 1,l_cnt do
exe('unwield '.. Bag[p].fullid ..' '..i)
end
end
end
-- ain
--exe('uweapon shape zhanlu sword')
exe('unwield sword')
--exe('unwield dagger')
--exe('unwield whip')
--exe('unwield xiao')
--exe('unwield ansha bishou')
--exe('unwield shizi')
--exe('unwield coin')
exe('unwield mu jian')
checkWield()
end
看你手里一般会拿什么武器,unwield那些武器,其它基本上不可能拿在手里的,都不需要,可以注释掉。 |
|