From 1fb002af86296eeb89a18cc2a3eba4d090d1e94b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 09 一月 2026 15:52:04 +0800
Subject: [PATCH] 271 【内政】古宝系统-服务端(修复古宝共鸣存在未激活古宝时激活共鸣0星属性bug;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
index f0a8fa4..a3e3390 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
@@ -337,8 +337,11 @@
gubaoIDList = ipyData.GetGubaoIDList()
if not gubaoIDList:
continue
- starList = [gubaoStarDict.get(gubaoID, 0) for gubaoID in gubaoIDList]
+ starList = [gubaoStarDict.get(gubaoID, -1) for gubaoID in gubaoIDList]
minStar = min(starList) # 共鸣星级,取组合中最低古宝星级
+ if minStar < 0:
+ #GameWorld.DebugLog("共鸣存在未激活的古宝,无效")
+ continue
attrIpyDataList = IpyGameDataPY.GetIpyGameDataList("GubaoResonanceAttr", resonanceID)
if not attrIpyDataList:
--
Gitblit v1.8.0