From 2a1039feedbd432ddadb8bc7d01bf1a173b77142 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 31 一月 2019 14:09:50 +0800
Subject: [PATCH] 6087 【后端】【1.5.200】春节红包雨活动(增加配置未用完的次数过天可否累加)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
index d226d1e..455d613 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
@@ -18,7 +18,7 @@
 import IPY_GameWorld
 import PlayerControl
 import GameWorldProcess
-import PlayerMergeEvent
+import PlayerSuccess
 import ReadChConfig
 import ShareDefine
 import FBCommon
@@ -523,6 +523,8 @@
     
     #注册进入这个副本的玩家
     gameFBMgr.AddFBPlayer(curPlayerID)
+    
+    PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_EnterMap, 1, [gameMapID])
     return
 
 def DoEnterFB(curPlayer, tick):
@@ -695,9 +697,6 @@
     if callFunc:
         #GameWorld.Log("副本逻辑不可使用   GameLogic_%d"%(mapID))
         callFunc(curPlayer , tick)
-    
-    #有玩家离开副本广播一次
-    PlayerMergeEvent.BroadcastMergePlayerEvent()
     
     #如果是最后一个人离开副本, 那么设置副本的离开时间, 5分钟后副本关闭
     __PlayerLeaveSetPlayerLogoffTick(curPlayer, tick)

--
Gitblit v1.8.0