From 9a5d8288ba607bdcd67cb93e03c7f09ece8b1569 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 13 三月 2026 14:29:24 +0800
Subject: [PATCH] 556 【付费功能】时装商店-服务端(优化时装转化碎片时A801通知,封包修改货币增加IsBind,同物品标记逻辑,时装转化标记=40;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py |    4 ++--
 1 files changed, 2 insertions(+), 2 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 42c1d54..5a9df8e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
@@ -303,7 +303,7 @@
         # 特殊属性
         attrID = ipyData.GetSpecAttrID()
         if attrID:
-            #effType = ipyData.GetSpecEffType()
+            effType = ipyData.GetSpecEffType()
             layerMax = ipyData.GetSpecEffLayerMax()
             SpecAttrValue = ipyData.GetSpecAttrValue()
             SpecAttrPerStarAdd = ipyData.GetSpecAttrPerStarAdd()
@@ -315,7 +315,7 @@
                 for sIndex in range(min(len(specAttrIDList), len(specAttrValueList))):
                     if specAttrIDList[sIndex] == attrID:
                         specLVAttr = specAttrValueList[sIndex]
-            if not layerMax:
+            if not layerMax or not effType:
                 layer, layerMax = 1, 1 # 无层级限制的默认1层
             attrValue = int((SpecAttrValue + SpecAttrPerStarAdd * star + specLVAttr / float(layerMax)) * layer)
             attrDict[attrID] = attrDict.get(attrID, 0) + attrValue

--
Gitblit v1.8.0