From f0ecd6a07e7e01a659d09cafde4d1214c70a16b4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 21 一月 2026 20:57:01 +0800
Subject: [PATCH] 302 【公会】BOSS讨伐-服务端(优化可领取宝箱数统计逻辑,修复可能导致的个别情况下少领取宝箱bug;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
index 427b682..204b7a5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
@@ -612,7 +612,7 @@
         libAttrCnt = 0 # 随机属性个数
         libAttrCntNeedLVList = IpyGameDataPY.GetFuncEvalCfg("MinggeCfg", 1)
         for needGWLV in libAttrCntNeedLVList:
-            if gwLV >= needGWLV:
+            if itemLV >= needGWLV:
                 libAttrCnt += 1
             else:
                 break

--
Gitblit v1.8.0