From 580a7298dc7248e4d30ed14d73864633a193864f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 10 一月 2025 15:54:40 +0800
Subject: [PATCH] 1111 调整战前冲锋(CD改为1900毫秒;废弃视野距离验证;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 6 +++---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 293e17b..ffdbc84 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -2272,7 +2272,7 @@
5000 , #玩家状态切换,5秒一次
1000 , #世界传送间隔1秒
- 3000 , #战前冲锋间隔
+ 1900 , #战前冲锋间隔,客户端2秒
10000 , #刷新双倍时间10秒
1000 , #双倍经验封包间隔1秒
1000 , #处理客户端“宠物出战/召回”封包间隔1秒
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 aed69c8..191045c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -2180,9 +2180,9 @@
# return
#===========================================================================
- #超出视野
- if curPlayer.GetSight() and GameWorld.GetDist(curPlayer.GetPosX(), curPlayer.GetPosY(), clientData.PosX, clientData.PosY) > curPlayer.GetSight():
- return
+ #超出视野,后端不验证,前端验证即可,防止被拉回
+ #if curPlayer.GetSight() and GameWorld.GetDist(curPlayer.GetPosX(), curPlayer.GetPosY(), clientData.PosX, clientData.PosY) > curPlayer.GetSight():
+ # return
#玩家移动通用检查
if not __CheckPlayerCanMove(curPlayer):
--
Gitblit v1.8.0