--AI类型必改变,而且每种机率是一样的
local toAIType = random(4) - 1;
if toAIType >= curAIType then
toAIType = toAIType + 1;
end
local ret = LuaFnSetPetAITypeByGUID(sceneId, selfId, petGUID_H, petGUID_L, toAIType);
if not ret or ret ~= 1 then
x800124_ShowTips(sceneId, selfId, "你指定的珍兽不存在。");
return 0;
end