| | |
| | | return
|
| | |
|
| | | curNPC = GameWorld.FindNPCByNPCID(npcID)
|
| | | if not curNPC or curNPC.GetID() != objID:
|
| | | GameWorld.DebugLog("协助NPC不存在无法协助!", playerID)
|
| | | if not curNPC:
|
| | | GameWorld.DebugLog("协助NPC不存在无法协助!npcID=%s" % npcID, playerID)
|
| | | return
|
| | | if curNPC.GetID() != objID:
|
| | | GameWorld.DebugLog("协助NPC实例ID不一致无法协助!npcID=%s,curNPC.GetID()=%s,sendObjID=%s" % (npcID, curNPC.GetID(), objID), playerID)
|
| | | return
|
| | |
|
| | | ipyData = IpyGameDataPY.GetIpyGameDataNotLog('BOSSInfo', npcID)
|
| | |
| | | return
|
| | |
|
| | | mapID = curPlayer.GetMapID()
|
| | | lineID = 0
|
| | | if GameWorld.GetMap().GetMapFBType() != IPY_GameWorld.fbtNull: # 副本型boss,如封魔坛
|
| | | lineID = PlayerControl.GetFBFuncLineID(curPlayer)
|
| | | lineID = GameWorld.GetGameWorld().GetLineID()
|
| | | queryData = [mapID, lineID, npcID, objID]
|
| | | QueryGameServer_PlayerAssist(playerID, "RequestAssistBoss", queryData)
|
| | | return
|