hch
2019-01-11 b1bb52bb7c6e5c36471140bf383be02d35fe92d4
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMissionCollect.py
@@ -51,18 +51,18 @@
    tagObj = curPlayer.GetActionObj()
    if tagObj == None:
        #没有目标
        GameWorld.Log("FuncCall -> 没有目标" , curPlayer.GetPlayerID())
        GameWorld.Log("GetActionNPCbyType -> 没有目标" , curPlayer.GetPlayerID())
        return
    
    if tagObj.GetGameObjType() != IPY_GameWorld.gotNPC:
        #谈话对象不对
        GameWorld.Log("FuncCall -> 谈话对象不对" , curPlayer.GetPlayerID())
        GameWorld.Log("GetActionNPCbyType -> 谈话对象不对" , curPlayer.GetPlayerID())
        return
    
    curNPC = GameWorld.GetNPCManager().GetNPCByIndex(tagObj.GetIndex())
    if curNPC == None:
        #没有这个NPC
        GameWorld.Log("FuncCall ->没有这个NPC" , curPlayer.GetPlayerID())
        GameWorld.Log("GetActionNPCbyType ->没有这个NPC" , curPlayer.GetPlayerID())
        return
    
    if curNPC.GetType() != npcType: