From 8145e33b8bac3d5852d08e3de8128ae8db3a6d4c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 01 二月 2019 14:07:52 +0800
Subject: [PATCH] 6188 【后端】【1.5.200】诛仙塔爬塔补偿

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |    9 ++++++++-
 1 files changed, 8 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 dcc2219..c90555d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -104,6 +104,7 @@
 import PlayerSpringSale
 import PlayerFairyCeremony
 import PlayerNewFairyCeremony
+import PlayerFeastRedPacket
 import CrossRealmPlayer
 import ChNetSendPack
 import FamilyRobBoss
@@ -247,6 +248,11 @@
     curPlayer.SetDict(ChConfig.Def_PlayerKey_NotifyAllAttrState, 0)
     playerControl = PlayerControl.PlayerControl(curPlayer)
     playerControl.ReCalcAllState()
+    
+    # 同步所有buff
+    __Sync_ClientBuff(curPlayer)
+    
+    PlayerState.Sync_PKBossState(curPlayer)
     
     if PlayerControl.GetCrossMapID(curPlayer):
         CrossRealmPlayer.DoExitCrossRealm(curPlayer)
@@ -682,6 +688,7 @@
     PlayerRune.PlayerRuneLogin(curPlayer)
     # 仙盟红包登录通知
     PlayerFamilyRedPacket.OnPlayerLogin(curPlayer)
+    PlayerFeastRedPacket.DoPlayerOnLogin(curPlayer)
     # 法宝登录通知
     PlayerMagicWeapon.PlayerMagicWeaponLogin(curPlayer)
     # 商店物品购买次数登录通知
@@ -5358,7 +5365,7 @@
         PlayerNewFairyCeremony.GetFCPartyAward(curPlayer, dataEx)
     # 领取节日巡礼活动奖励
     elif rewardType == ChConfig.Def_RewardType_FeastWeekPartyAct:
-        PlayerWeekParty.GetWeekPartyActionAward(curPlayer, dataEx, dataExStr)
+        PlayerFeastWeekParty.GetFeastWeekPartyActionAward(curPlayer, dataEx, dataExStr)
     # 领取节日巡礼积分奖励
     elif rewardType == ChConfig.Def_RewardType_FeastWeekPartyPoint:
         PlayerFeastWeekParty.GetFeastWeekPartyPointAward(curPlayer, dataEx, dataExStr)

--
Gitblit v1.8.0