From d8a2bceecaa8b68d2059b150c25c00035a4a8afb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 23 五月 2022 17:01:59 +0800
Subject: [PATCH] 9415 【BT】【后端】古神战场(修复击杀积分王时刚好获胜导致重复结算奖励bug)

---
 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