| | |
| | | import GMCommon
|
| | | import FamilyRobBoss
|
| | | import ShareDefine
|
| | | import ChConfig
|
| | |
|
| | | import random
|
| | | #---------------------------------------------------------------------
|
| | |
| | |
|
| | | 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))
|
| | |
| | |
|
| | | 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
|