hch
2019-06-06 8748bbbb0bcf027f0e77cc203aa60b2d68ddcebc
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