From 60d302989a793943bd21a9aed87a5e3f49ab64bb Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 11 一月 2025 17:32:05 +0800 Subject: [PATCH] 10263 【越南】【英文】后端支持NPC仿真实玩家战斗和快速战斗(护盾变更通知周围玩家) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index 82bae4f..32f9149 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -7554,11 +7554,9 @@ #---当前防护值,需存DB---- def GetProDef(curPlayer): return curPlayer.GetExAttr4() def SetProDef(curPlayer, value): - if GameWorld.IsCrossServer(): - curPlayer.SetExAttr4(value, True) # 跨服服务器需要广播周围玩家 - else: - curPlayer.SetExAttr4(value) - + curPlayer.SetExAttr4(value, True) + return + #---最大防护值---- def GetMaxProDef(curPlayer): return curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_AttrMaxProDef) def SetMaxProDef(curPlayer, value): -- Gitblit v1.8.0