ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -2222,8 +2222,9 @@ moveDestY = resultPos.GetPosY() if curNPC.GetCurAction() == IPY_GameWorld.laNPCMove and \ (GameWorld.GetGameWorld().GetTick() - curNPC.GetActionTick()) < 1200: # Move接口调用太快会导致不移动 (GameWorld.GetGameWorld().GetTick() - curNPC.GetActionTick()) < 800: # .Move( 接口调用太快会导致移动时间不够长(不足一格)导致无法移动 或者移动过慢问题 # SetDestPos 调用会导致反向移动偏快 curNPC.SetDestPos(moveDestX, moveDestY) return #=======================================================================