10202 【越南】【香港】【主干】【砍树】寻宝广播格子优化,仅广播幸运物品加配置的需要广播格子;
1个文件已修改
10 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
@@ -190,13 +190,13 @@
    goodGridNumList = [] # 好物品格子编号 (幸运物品 + 必出 + 保底)
    goodGridNumList += luckyGridNumList
    beSureCountDict = ipyData.GetGridItemRateList3() # 第x次必出产出格子编号饼图
    for gridRateList in beSureCountDict.values():
        for gridRateInfo in gridRateList:
            goodGridNumList.append(gridRateInfo[1])
    #for gridRateList in beSureCountDict.values():
    #    for gridRateInfo in gridRateList:
    #        goodGridNumList.append(gridRateInfo[1])
    ensureCount = setIpyData.GetEnsureCount() # 每多少次触发保底产出库
    ensureRateList = ipyData.GetGridItemRateList2()
    for gridRateInfo in ensureRateList:
        goodGridNumList.append(gridRateInfo[1])
    #for gridRateInfo in ensureRateList:
    #    goodGridNumList.append(gridRateInfo[1])
    notifyGridNumList = setIpyData.GetNotifyGridNumList() # 额外需要广播的格子,幸运必出、次数必出可不配置
    goodGridNumList += notifyGridNumList
    GameWorld.DebugLog("goodGridNumList=%s" % goodGridNumList, playerID)