From ef3351ae377cd81c423bbcc9634ee8f5c2a028d9 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 30 一月 2019 17:08:30 +0800 Subject: [PATCH] 2967 【1.5.200】打跨服boss过程中传送出地图“掉落归属”图标一直在头上(补通知玩家拥有的buff、当前PK状态、Boss状态) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py index 981b4d0..a0864c9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py @@ -1493,6 +1493,14 @@ ProcessProDef(curPlayer, tick) return +def Sync_PKBossState(curPlayer): + psState = 1 if curPlayer.GetDictByKey(ChConfig.Def_PDict_PKStateTick) else 0 + curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_PKState, psState, False) + + bossState = 1 if curPlayer.GetDictByKey(ChConfig.Def_PDict_BossStateTick) else 0 + curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_BossState, bossState, False) + return + # 脱离PK战斗 X秒后按比例恢复 def ProcessProDef(curPlayer, tick): if PlayerControl.GetProDefHPPer(curPlayer) == 0: -- Gitblit v1.8.0