hxp
2024-08-05 8cc1de4c4b315257959218efa10255f38b4c14f7
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
@@ -1564,6 +1564,16 @@
        curPlayer.Sync_TimeTick(msgType, msgID, nextWheelRemainTick, True)
    return nextWheelRemainTick
def GetTDCfgNPCCntInfo(fileNum, sign=0):
    npcCountDict = {}
    refreshNPCDict = ReadChConfig.GetEvalChConfig("TD_%s_NPCID" % fileNum)
    refreshNPCList = refreshNPCDict.get(sign,[])
    for wheelNPCList in refreshNPCList:
        for smallWhellNPCInfo in wheelNPCList:
            for npcID, npcCount in smallWhellNPCInfo:
                npcCountDict[npcID] = npcCountDict.get(npcID, 0) + npcCount
    return npcCountDict
## ---------------------------------- TD ---------------------------------------
def GetEnterFBMaxCnt(curPlayer, mapID):
    ## 获取副本最大可进入次数: 基本次数 + 时间已恢复次数 + VIP额外次数 + 购买次数 + 找回次数 + 使用道具增加次数