ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AICommon.py
@@ -31,6 +31,7 @@
import PetControl
import ReadChConfig
import GameObj
import FBLogic
#---------------------------------------------------------------------
#---------------------------------------------------------------------
@@ -643,7 +644,7 @@
    return
def NPCMoveByPointList(curNPC, movePointList):
def NPCMoveByPointList(curNPC, movePointList, tick):
    if not movePointList:
        return
    pointIndex = curNPC.GetDictByKey(ChConfig.Def_NPC_Dict_MovePointIndex)
@@ -669,5 +670,10 @@
        
        curNPC.Move(destPosX, destPosY)
        return
    # 到达终点
    if pointIndex == (len(movePointList) - 1):
        FBLogic.OnTDNPCReachTheGoal(curNPC, tick)
    return