From 36c1888dd0d44fa319c804a715c3551b98633650 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 03 三月 2026 15:09:33 +0800
Subject: [PATCH] 519 硬核渠道对接(指定appID可配置指定创角邮件;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py |    4 ++++
 1 files changed, 4 insertions(+), 0 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..23f5274 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):

--
Gitblit v1.8.0