From 41d25326ad09ab88259413743e819a4a70edfc3b Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 23 十一月 2023 14:36:40 +0800 Subject: [PATCH] 10012 【主干】【港台】首充改成直购 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py index f288495..4b6fb45 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py @@ -568,7 +568,9 @@ PlayerFeastTravel.AddFeastTravelTaskValue(curPlayer, ChConfig.Def_FeastTravel_CTGExp, addVIPExp) #投资 if ctgIpyData: - PlayerGoldInvest.InvestByCTG(curPlayer, ctgIpyData.GetRecordID()) + ctgID = ctgIpyData.GetRecordID() + PlayerGoldInvest.InvestByCTG(curPlayer, ctgID) + PlayerGoldGift.OnGiftByCTGID(curPlayer, ctgID) serverDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1 addDRDict.update({"gold":[goldBefore, goldAfter], "changeCoinPoint":[changeCoinPointBefore, changeCoinPointAfter], "todayCTGCoinTotal":todayCTGCoinTotal, -- Gitblit v1.8.0