ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -2591,6 +2591,8 @@ #检查是否超出活动范围 if curNPC.GetRefreshPosCount() > 0: curRefreshPos = curNPC.GetRefreshPosAt(curNPC.GetCurRefreshPointIndex()) if not curRefreshPos: return moveDist = GameWorld.GetDist(posX, posY, curRefreshPos.GetPosX(), curRefreshPos.GetPosY()) if curRefreshPos.GetMoveDist() != 0 and moveDist > curRefreshPos.GetMoveDist(): #如果NPC超过自己的移动范围, 就自动返回