From 1fcefcd652fa02249ad07f44214eeb4e7c7c07c6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 19 八月 2024 10:44:26 +0800
Subject: [PATCH] 10202 【越南】【香港】【主干】【砍树】寻宝广播格子优化,仅广播幸运物品加配置的需要广播格子;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
index 12b3535..024eaac 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
+++ b/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)

--
Gitblit v1.8.0