From de76bf6d9d264a24dfb7a3939fb68059e59b057d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 23 四月 2021 18:36:39 +0800
Subject: [PATCH] 8901 【BT2】【后端】全服红包(同步主干补冲突)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
index a35f7d7..fbdaa0f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -175,7 +175,6 @@
 #  @param curPlayer: 玩家
 #  @return: None
 def OnDay(curPlayer):
-    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_DailyChargeState, 0)
     return
 
 ## 充值豪礼OnLogin
@@ -196,7 +195,6 @@
 #  @param addGold: 充元宝数
 #  @return: None
 def OnPlayerChargeGold(curPlayer):
-    DayChargeRedPackAward(curPlayer)
     
     firstGoldServerDay = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FirstGoldServerDay)
     if not firstGoldServerDay:
@@ -288,14 +286,6 @@
             GameWorld.DebugLog('首充试用物品过期了 背包仓库没武器则送一把 没给成功!!giveItemID=%s'%giveItemID, curPlayer.GetID())
             
     return
-#每日充值任意金额红包奖励
-def DayChargeRedPackAward(curPlayer):
-    if curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_DailyChargeState) == 1:
-        return
-    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_DailyChargeState, 1)
-    PlayerFamilyRedPacket.CreatRedPacketByID(curPlayer, 2)
-    return
-
 
 def OnGetHistoryRechargeAward(curPlayer, awardID):
     # 领取历史充值奖励

--
Gitblit v1.8.0