From fb30a62bca5aa44399c1e8e9aa3dc2e5c250bbf2 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 18 十月 2024 18:00:07 +0800 Subject: [PATCH] 10263 【越南】【英文】后端支持NPC仿真实玩家战斗和快速战斗 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py index b828710..593dd42 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py @@ -121,6 +121,8 @@ def SendEventPack(eventTypeStr, dataDict, curPlayer=None): if curPlayer: + if not GameWorld.IsNormalPlayer(curPlayer): + return pid = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_PlayerFromPID) dataDict["pid"] = pid dataDict["fightPower"] = PlayerControl.GetFightPower(curPlayer) -- Gitblit v1.8.0