hxp
2025-01-10 580a7298dc7248e4d30ed14d73864633a193864f
1111 调整战前冲锋(CD改为1900毫秒;废弃视野距离验证;)
2个文件已修改
8 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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秒 
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):