hch
2019-04-02 4011158e5834a69187237eb575194aeb500bd270
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
        #=======================================================================