From 11e82d25c1aa5b91706689d0414fdc893ed52627 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 13 四月 2019 11:11:38 +0800 Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(妖王初版) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | 8 ++++++-- 1 files changed, 6 insertions(+), 2 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 4ec130c..c5ddecd 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py @@ -50,6 +50,7 @@ import PlayerBossReborn import PlayerFairyCeremony import PlayerNewFairyCeremony +import GameLogic_CrossDemonKing import PlayerWeekParty import PlayerActLogin import FamilyRobBoss @@ -2020,6 +2021,9 @@ if not zoneIpyData: return zoneID = zoneIpyData.GetZoneID() + GameWorld.GetGameWorld().SetGameWorldDict(ShareDefine.Def_Notify_WorldKey_GameWorldBossRebornCross % (zoneID, bossID), 0) + elif dataMapID == ChConfig.Def_FBMapID_CrossDemonKing: + zoneID = GameLogic_CrossDemonKing.GetCurFBLineZoneID() GameWorld.GetGameWorld().SetGameWorldDict(ShareDefine.Def_Notify_WorldKey_GameWorldBossRebornCross % (zoneID, bossID), 0) else: GameWorld.GetGameWorld().SetGameWorldDict(ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn % bossID, 0) @@ -4101,10 +4105,10 @@ mapID = GameWorld.GetMap().GetMapID() mapID = FBCommon.GetRecordMapID(mapID) isGameBoss = ChConfig.IsGameBoss(curNPC) + if mapID in [ChConfig.Def_FBMapID_MunekadoTrial, ChConfig.Def_FBMapID_DemonKing]: + return if isGameBoss: GameWorld.Log("NPC开始掉落: npcID=%s,dropPlayerID=%s" % (npcID, dropPlayer.GetPlayerID()), dropPlayer.GetPlayerID()) - if mapID == ChConfig.Def_FBMapID_MunekadoTrial: - return ipyDrop = GetNPCDropIpyData(npcID) if not ipyDrop: if isGameBoss: -- Gitblit v1.8.0