From 5dfc9bf567fdf69a0ee8899c4966ce64b4cfe5ad Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 三月 2026 12:07:54 +0800
Subject: [PATCH] 547 【红颜系统】新增红颜-服务端(新增激活方式8-定军阁层;新增红颜特殊效果5-遣散/吞噬额外返还;统一A801、0320物品获得标记;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
index 734a00a..6d35443 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
@@ -175,6 +175,10 @@
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_InvestEndTime % investType, updEndTime)
     GameWorld.DebugLog("投资理财成功: investType=%s" % (investType))
     Sync_InvestInfo(curPlayer, investType)
+    
+    if investType == ChConfig.InvestType_Life:
+        import PlayerTreasure
+        PlayerTreasure.ResetLifeCardLucky(curPlayer)
     return
 
 def GetAddFBCnt(curPlayer, mapID):
@@ -281,7 +285,7 @@
         gubaoPowerType = exItemGubaoPowerDict[investType]
         # 古宝月卡奖励双倍特权
         exItemList = []
-        gubaoExSign = 10 # 标记古宝额外奖励
+        isBind = ItemControler.GetIsBindValue(srcSign=ChConfig.ItemSrcSign_GubaoEff)
         for itemInfo in rewardItemList:
             itemID, itemCount = itemInfo[:2]
             addPer = PlayerGubao.GetGubaoPowerValue(curPlayer, gubaoPowerType, itemID)
@@ -290,7 +294,7 @@
             countEx = int(itemCount * addPer / 100.0)
             if not countEx:
                 continue
-            exItemList.append([itemID, countEx, gubaoExSign])
+            exItemList.append([itemID, countEx, isBind])
         if exItemList:
             rewardItemList += exItemList
             

--
Gitblit v1.8.0