From 320a417a53a57a9cb7d7759f430afe5f6e6399a6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 29 一月 2019 16:28:30 +0800
Subject: [PATCH] 6087 【后端】【1.5.200】春节红包雨活动(额度特效增加红包类型参数)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index 3daaf34..10416bf 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -79,6 +79,7 @@
 import GameLogic_FamilyWar
 import PlayerBossReborn
 import PlayerWeekParty
+import PlayerFeastWeekParty
 import PlayerActLogin
 import Operate_EquipWash
 import PlayerTreasure
@@ -102,6 +103,8 @@
 import PlayerActTotalRecharge
 import PlayerSpringSale
 import PlayerFairyCeremony
+import PlayerNewFairyCeremony
+import PlayerFeastRedPacket
 import CrossRealmPlayer
 import ChNetSendPack
 import FamilyRobBoss
@@ -111,6 +114,7 @@
 import PlayerGeTui
 import PlayerDogz
 import PlayerCoat
+import PlayerQuDaoDoubleBill
 
 import datetime
 import time
@@ -679,6 +683,7 @@
     PlayerRune.PlayerRuneLogin(curPlayer)
     # 仙盟红包登录通知
     PlayerFamilyRedPacket.OnPlayerLogin(curPlayer)
+    PlayerFeastRedPacket.DoPlayerOnLogin(curPlayer)
     # 法宝登录通知
     PlayerMagicWeapon.PlayerMagicWeaponLogin(curPlayer)
     # 商店物品购买次数登录通知
@@ -706,10 +711,14 @@
     PlayerBossReborn.OnLogin(curPlayer)
     # 周狂欢活动
     PlayerWeekParty.OnLogin(curPlayer)
+    # 节日巡礼活动
+    PlayerFeastWeekParty.OnLogin(curPlayer)
     # 登录奖励活动
     PlayerActLogin.OnLogin(curPlayer)
     # 仙界盛典活动
     PlayerFairyCeremony.OnLogin(curPlayer)
+    # 新仙界盛典活动
+    PlayerNewFairyCeremony.OnLogin(curPlayer)
     # 分支下载奖励记录通知
     SyncPackDownloadAward(curPlayer)
     # 登录触发功能开启(老号处理)
@@ -741,6 +750,7 @@
     # 如果被禁言的,上线同步前端
     if curPlayer.GetGMForbidenTalk():
         curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_ForbidenTalk, curPlayer.GetGMForbidenTalk(), False)
+    
     return
 
 
@@ -1556,6 +1566,8 @@
     
     #EndLoadMap需放在最后
     curPlayer.EndLoadMap()
+    # 渠道返利 
+    PlayerQuDaoDoubleBill.OnMapQDDoubleBill(curPlayer)
     return True
 
 ## 切换地图同步一次PK模式
@@ -5340,7 +5352,18 @@
     # 领取登录奖励活动奖励
     elif rewardType == ChConfig.Def_RewardType_ActLoginAwardAct:
         PlayerActLogin.GetLoginAwardActionAward(curPlayer, dataEx, dataExStr)
-    
+    # 领取新仙界盛典充值大礼
+    elif rewardType == ChConfig.Def_RewardType_NewFairyCRecharge:
+        PlayerNewFairyCeremony.GetFCRechargeAward(curPlayer)
+    # 领取新仙界盛典全民来嗨
+    elif rewardType == ChConfig.Def_RewardType_NewFairyCParty:
+        PlayerNewFairyCeremony.GetFCPartyAward(curPlayer, dataEx)
+    # 领取节日巡礼活动奖励
+    elif rewardType == ChConfig.Def_RewardType_FeastWeekPartyAct:
+        PlayerFeastWeekParty.GetFeastWeekPartyActionAward(curPlayer, dataEx, dataExStr)
+    # 领取节日巡礼积分奖励
+    elif rewardType == ChConfig.Def_RewardType_FeastWeekPartyPoint:
+        PlayerFeastWeekParty.GetFeastWeekPartyPointAward(curPlayer, dataEx, dataExStr)
     return
     
     

--
Gitblit v1.8.0