From 5affad5d239f5fed725f5992ebab08c6da59c090 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 12 二月 2019 11:58:17 +0800
Subject: [PATCH] 5819 【后端】【1.6】运营活动支持对应不同的职业和世界等级

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py
index 7726ee7..cf27561 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py
@@ -32,6 +32,8 @@
 import EventShell
 import ChPyNetSendPack
 import NetPackCommon
+import PlayerSuccess
+import PlayerWeekParty
 import BuffSkill
 
 import random
@@ -562,6 +564,7 @@
         FBCommon.Sync_FBPlayerFBInfoData(curPlayer, mapID) # 同步信息
         if not lastStar and not isInFBOnDay: #每日活动
             PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_IceLode)
+            PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_IceLode, 1)
     
     if isInFBOnDay: #在副本里过天,副本结束后再补发星级奖励
         CheckIceLodeStarAwardMail(curPlayer)
@@ -588,6 +591,8 @@
         jsonItemList = FBCommon.GetJsonItemList(itemList)
         overDict[FBCommon.Over_itemInfo] = jsonItemList
         EventShell.EventRespons_FBEvent(curPlayer, 'icelode')
+        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_IceLode, 1)
+        
     # 通知结果
     __SendIceLodeOverInfo(curPlayer, overDict)
     
@@ -675,6 +680,8 @@
             addCnt += 1
         GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineid, 3, False, [mapID])
     PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_IceLode, addCnt)
+    PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_IceLode, addCnt)
+    PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_IceLode, len(lineList))
     FBCommon.Sync_FBPlayerFBInfoData(curPlayer, mapID) # 同步信息
 #    npcCountDict = {}
 #    iceLodeSweepDict = IpyGameDataPY.GetFuncEvalCfg('IceLodeSweep')

--
Gitblit v1.8.0