From dd10f9563d8964cb80a3c2fd496cd08be549fd7c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 14 三月 2020 17:34:11 +0800
Subject: [PATCH] 8401 【后端】BOSS复活修改(AC08封包增加每日最大可复活次数通知)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCInfo.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCInfo.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCInfo.py
index f32a990..647b353 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCInfo.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCInfo.py
@@ -24,6 +24,7 @@
import GMCommon
import FamilyRobBoss
import ShareDefine
+import ChConfig
import random
#---------------------------------------------------------------------
@@ -50,7 +51,7 @@
npcID = curNPC.GetNPCID()
GameWorld.DebugAnswer(curPlayer, "-----------------------%s" % random.randint(0, 100))
- GameWorld.DebugAnswer(curPlayer, "ObjID: %s, NPCID: %s, %s" % (curNPC.GetID(), npcID, curNPC.GetName()))
+ GameWorld.DebugAnswer(curPlayer, "ObjID: %s, NPCID: %s, %s, Type: %s" % (curNPC.GetID(), npcID, curNPC.GetName(), curNPC.GetType()))
if FamilyRobBoss.IsHorsePetRobBoss(npcID):
strengthenPlayerCnt = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_HorsePetRobBossPlayerCount)
GameWorld.DebugAnswer(curPlayer, "表等级: %s, 成长等级: %s, 参与人数: %s" % (curNPC.GetLV(), curNPC.GetCurLV(), strengthenPlayerCnt))
@@ -69,7 +70,7 @@
def PrintNPCBuff(curPlayer, curNPC):
for buffType in range(IPY_GameWorld.bfBuff, IPY_GameWorld.btBufMax):
- if buffType in [IPY_GameWorld.bfIncBuff, IPY_GameWorld.btPassiveBuf, IPY_GameWorld.bfEquipBuff, IPY_GameWorld.bfMapBuff]:
+ if buffType in ChConfig.Def_BuffType_OnlyPlayer:
continue
PrintBuffState(curPlayer, curNPC, buffType)
return
--
Gitblit v1.8.0