From 0a17e139006a7e19bc3a100fa394ad7d9b4bb716 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 26 九月 2018 16:37:01 +0800
Subject: [PATCH] 3810 【后端】前期BOSS分线修改

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index eda9b03..1672af7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -5547,4 +5547,17 @@
     sendPack.Clear()
     sendPack.Record = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_DownloadAwardState)
     NetPackCommon.SendFakePack(curPlayer, sendPack)
-    return
\ No newline at end of file
+    return
+
+def NotifyPlayerMove(curPlayer, posX, posY, npcID=0):
+    '''通知前端向某个点移动
+                这里前端可能需要针对某次移动做额外处理,比如移动到某个点后需要自动战斗等
+                所以这里只做通知前端可以向某个点移动,最终移动由前端发起
+    '''
+    sendPack = ChPyNetSendPack.tagMCNotifyPlayerMove()
+    sendPack.Clear()
+    sendPack.PosX = posX
+    sendPack.PosY = posY
+    sendPack.NPCID = npcID
+    NetPackCommon.SendFakePack(curPlayer, sendPack)
+    return

--
Gitblit v1.8.0