From 0bb7ee068aedba47cb8de483ddf0fe21eb040fb1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 02 四月 2020 18:08:14 +0800
Subject: [PATCH] 8401 【后端】BOSS复活修改(活动boss被击杀时增加全服广播提醒)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
index 070232a..0847a5c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -4015,6 +4015,10 @@
#KillerJob = 0 if not self.__Killer else self.__Killer.GetJob()
killerIDList = [player.GetPlayerID() for player in self.__ownerPlayerList]
GameServer_KillGameWorldBoss(curNPC.GetNPCID(), killerName, 0, True, killerIDList)
+
+ if npcID == IpyGameDataPY.GetFuncCfg("BossRebornServerBoss", 3):
+ PlayerControl.WorldNotify(0, "BossRebornBossKilled", [curNPC.GetNPCID()])
+
#===========================================================================================
# # 暗金boss
# if curNPC.GetIsBoss() == ChConfig.Def_NPCType_Boss_Dark:
--
Gitblit v1.8.0