From 55c0dde92cc8e292f9385ee313b515649c6162b4 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期六, 16 二月 2019 11:49:12 +0800
Subject: [PATCH] 6236 【后端】【1.6】合服重新同步下诛仙排行榜

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py
index 4dcdaaf..96d051c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py
@@ -26,6 +26,8 @@
 import ItemControler
 import ChPyNetSendPack
 import Operate_EquipStone
+import PlayerFeastWeekParty
+import DataRecordPack
 import PlayerGodWeapon
 import NetPackCommon
 import ShareDefine
@@ -129,6 +131,7 @@
             itemList = awardDict[point]
             for itemID, itemCnt, isBind in itemList:
                 totalItemDict[itemID] = totalItemDict.get(itemID, 0) + itemCnt
+            DataRecordPack.DR_WeekPartyPoint(curPlayer, day, point)
     if not totalItemDict:
         return
     totalItemList = [[itemID, itemCnt, 1] for itemID, itemCnt in totalItemDict.items()]
@@ -138,6 +141,7 @@
 
 def AddWeekPartyActionCnt(curPlayer, actionID, addCnt=1, isAdd=True, isCompatible=False, isSync=True):
     '''增加周狂欢相关活动完成次数'''
+    PlayerFeastWeekParty.AddFeastWeekPartyActionCnt(curPlayer, actionID, addCnt, isAdd, isCompatible, isSync)
     #判断活动是否开启
     if not addCnt:
         return
@@ -316,6 +320,7 @@
     for itemID, itemCnt, isBind in itemList:
         ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
     SyncWeekPartyPlayerInfo(curPlayer, day)
+    DataRecordPack.DR_WeekPartyPoint(curPlayer, day, getPoint)
     return
 
 

--
Gitblit v1.8.0