修改服务端
\home\server1\nomogaserver1\src\gamelogic\objects\items\item_other.lua
799行改成这样
local limit = (TOP_PET[ptype] or NIUBI_PET[ptype]) and 9 or 0
local len = #senior_skills
if len >= limit then -- 高级技能个数达到限制,按规则顶替
local dct = data_Variables.PetSkillReplace[len]
local hitval = choosekey(dct)
if hitval >= 0 then -- 顶替高级技能
pos = randlist(senior_skills)
elseif hitval <= 9 then -- 顶替普通技能
if #normal_skills > 0 then
pos = randlist(normal_skills)
else
pos = randlist(senior_skills)
end