From 4d66af400c9a3bd697af400977fb044b84ba034d Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 13 十二月 2018 17:18:54 +0800
Subject: [PATCH] 2625 【BUG】【1.3】【1.3.100】大境界断线重连后异常
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCInfo.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 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 f45e967..f32a990 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
@@ -22,6 +22,9 @@
import SkillCommon
import PrintBuff
import GMCommon
+import FamilyRobBoss
+import ShareDefine
+
import random
#---------------------------------------------------------------------
##查看点选的NPC仇恨列表
@@ -48,7 +51,11 @@
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, "表等级: %s, 成长等级: %s" % (curNPC.GetLV(), curNPC.GetCurLV()))
+ if FamilyRobBoss.IsHorsePetRobBoss(npcID):
+ strengthenPlayerCnt = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_HorsePetRobBossPlayerCount)
+ GameWorld.DebugAnswer(curPlayer, "表等级: %s, 成长等级: %s, 参与人数: %s" % (curNPC.GetLV(), curNPC.GetCurLV(), strengthenPlayerCnt))
+ else:
+ GameWorld.DebugAnswer(curPlayer, "表等级: %s, 成长等级: %s" % (curNPC.GetLV(), curNPC.GetCurLV()))
GameWorld.DebugAnswer(curPlayer, "生命: %s / %s" % (GameObj.GetHP(curNPC), GameObj.GetMaxHP(curNPC)))
GameWorld.DebugAnswer(curPlayer, "攻击: %s ~ %s" % (curNPC.GetMinAtk(), curNPC.GetMaxAtk()))
GameWorld.DebugAnswer(curPlayer, "防御: %s" % (curNPC.GetDef()))
--
Gitblit v1.8.0