ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -3371,7 +3371,12 @@ #范围校验 posMapX = posMap.GetPosX() posMapY = posMap.GetPosY() posMapArea = posMap.GetArea() if curNPC.GetType() == IPY_GameWorld.ntFunctionNPC: #功能NPC posMapArea = 0 else: posMapArea = posMap.GetArea() #获取范围内一点可以移动的点 posX, poxY = GameMap.GetNearbyPosByDis(posMapX, posMapY, posMapArea)