From 73f586a3147b956b81e56aa6c6ffdfefa4cff1cc Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 12 九月 2018 11:52:56 +0800
Subject: [PATCH] 3414 【后端】骑宠争夺boss血量成长

---
 ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
index 53e77ae..a78c850 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
@@ -667,6 +667,11 @@
             #已经是这个状态了
             continue
         
+        if state:
+            # 骑宠争夺活动开始前同步有效人数到地图
+            if dailyActionID == ShareDefine.DailyActionID_FamilyRobBoss:
+                GameWorldBoss.SyncMapServer_HorsePetRobBossPlayerCount()
+                
         #通知Mapserver,设置字典
         GameWorld.SendMapServerMsgEx(dictName, state)
         #更新字典值

--
Gitblit v1.8.0