ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PetControl.py
@@ -124,6 +124,16 @@
    return
#---------------------------------------------------------------------
def GetFightPet(curObj, placeNum=1):
    ## 获取对应战斗位置灵宠实例
    for index in range(curObj.GetSummonCount()):
        curSummonNPC = curObj.GetSummonNPCAt(index)
        if not IsPetNPC(curSummonNPC):
            continue
        if placeNum and placeNum == curSummonNPC.GetDictByKey(ChConfig.Def_Obj_Dict_FightPetPlaceNum):
            return curSummonNPC
    return
def CalloutFightPet(curObj, petCacheInfo):
    ## 召唤出战上阵的灵宠
    # @param curObj: 灵宠所属战斗实例