From 7bf88131759c20d54e175010d5b80da5d8148713 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期日, 28 九月 2025 19:47:56 +0800 Subject: [PATCH] 16 卡牌服务端(删除资源找回;前端自定义副本,公共扫荡;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py index 3e672e3..968c2b0 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py @@ -115,17 +115,10 @@ if not curPlayer.GetInitOK(): return - customMapID = PlayerControl.GetCustomMapID(curPlayer) - if customMapID: - ipyMapData = IpyGameDataPY.GetIpyGameData("ChinMap", customMapID) - if not ipyMapData or not ipyMapData.GetCanRide(): - PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0") - return - else: - #地图不允许骑马 RideLimit_lhs_0 - if not GameWorld.GetMap().GetMapCanRide(): - PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0") - return + #地图不允许骑马 RideLimit_lhs_0 + if not GameWorld.GetMap().GetMapCanRide(): + PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0") + return #检查玩家状态,只有在空闲状态才能上马 if curPlayer.GetPlayerVehicle() != IPY_GameWorld.pvNull : -- Gitblit v1.8.0