From e755e7fbaaa21c76ac64b61550e4b4c04f020b29 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 20 十月 2022 15:49:22 +0800
Subject: [PATCH] 9415 【BT】【后端】古神战场(屏蔽NPC击杀积分王广播)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
index 58a3fd1..4a1e4d7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
@@ -1448,7 +1448,7 @@
GameWorld.DebugLog(" 对方是积分王,阵营额外获得积分: index=%s,kingScore=%s" % (index, kingScore), fbPropertyID)
killScoreKingNotifyList = IpyGameDataPY.GetFuncEvalCfg("CrossBattlefieldScoreKing", 4)
- if index < len(killScoreKingNotifyList):
+ if index < len(killScoreKingNotifyList) and atkObjType == IPY_GameWorld.gotPlayer:
msgMark = killScoreKingNotifyList[index]
lineID = GameWorld.GetGameWorld().GetLineID()
defMapID = GameWorld.GetMap().GetMapID()
--
Gitblit v1.8.0