From 5318fdbf2db65e9fe8dc1eaa0fbc3039571ec441 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 20 六月 2019 17:06:32 +0800
Subject: [PATCH] 7320 【2.0】【后端】掉落记录置顶优先级变更

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