From a9c1f907bcf1e6a415c3df916e728f1b19666175 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 26 四月 2021 15:19:17 +0800
Subject: [PATCH] 1111 【主干】【bt】【bt2】【btzf】【后端】减少 WriteEvent_FightPower 同步频率(上下线、切地图时同步)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py
index 401b8a3..7e513f0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py
@@ -54,6 +54,7 @@
         
         #UpdateTJGBillboard(curPlayer, minuteExp) 脱机效率可不更新
         
+    EventReport.WriteEvent_FightPower(curPlayer)
     return
 
 def __CanPlayerBillboardComm(curPlayer):
@@ -139,7 +140,7 @@
     GameWorld.DebugLog("更新总战斗力:playerFightPower=%s" % (playerFightPower), curPlayer.GetPlayerID())
     
     UpdatePlayerBillboard(curPlayer, ShareDefine.Def_BT_FightPower, fightPowerEx, fightPower, exInfo=[familyID])
-    EventReport.WriteEvent_FightPower(curPlayer)
+    #EventReport.WriteEvent_FightPower(curPlayer)
     return
 
 def __CheckFightPowerCanUpdate(curPlayer, key, fightPower, isForceUpdate=False, isCheckRule=True, key2=None):

--
Gitblit v1.8.0